зеркало из https://github.com/mozilla/gecko-dev.git
Adapt to changes in prefapi.h etc
This commit is contained in:
Родитель
51f27af854
Коммит
8da85206f5
|
@ -2242,7 +2242,7 @@ PRBool nsMsgDatabase::ThreadBySubjectWithoutRe()
|
|||
|
||||
nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
|
||||
{
|
||||
XP_Bool prefValue = PR_FALSE;
|
||||
PRBool prefValue = PR_FALSE;
|
||||
nsIPref* prefs = nsnull;
|
||||
nsresult rv;
|
||||
rv = nsServiceManager::GetService(kPrefCID, kIPrefIID, (nsISupports**)&prefs);
|
||||
|
@ -2251,7 +2251,7 @@ nsresult nsMsgDatabase::GetBoolPref(const char *prefName, PRBool *result)
|
|||
// prefs->Startup("prefs.js");
|
||||
|
||||
rv = prefs->GetBoolPref(prefName, &prefValue);
|
||||
*result = (PRBool) prefValue;
|
||||
*result = prefValue;
|
||||
nsServiceManager::ReleaseService(kPrefCID, prefs);
|
||||
}
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче