зеркало из https://github.com/mozilla/pjs.git
Fix Solaris CC and AIX build bustage. Can't use 'bool', must use PRBool.
This commit is contained in:
Родитель
1bfb6db3b0
Коммит
fe8f8da5c1
|
@ -85,7 +85,7 @@ nsMenu::nsMenu() : nsIMenu()
|
|||
mMenuParent = nsnull;
|
||||
mMenuBarParent = nsnull;
|
||||
mListener = nsnull;
|
||||
mConstructCalled = false;
|
||||
mConstructCalled = PR_FALSE;
|
||||
|
||||
mDOMNode = nsnull;
|
||||
mWebShell = nsnull;
|
||||
|
@ -486,7 +486,7 @@ nsEventStatus nsMenu::MenuConstruct(
|
|||
nsEventStatus nsMenu::MenuDestruct(const nsMenuEvent & aMenuEvent)
|
||||
{
|
||||
g_print("nsMenu::MenuDestruct called \n");
|
||||
mConstructCalled = false;
|
||||
mConstructCalled = PR_FALSE;
|
||||
RemoveAll();
|
||||
return nsEventStatus_eIgnore;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,7 @@ protected:
|
|||
nsIMenuBar *mMenuBarParent;
|
||||
nsIMenuListener * mListener;
|
||||
|
||||
bool mConstructCalled;
|
||||
PRBool mConstructCalled;
|
||||
nsIDOMNode * mDOMNode;
|
||||
nsIWebShell * mWebShell;
|
||||
nsIDOMElement * mDOMElement;
|
||||
|
|
Загрузка…
Ссылка в новой задаче