mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
since we now have nsWindow::ShowMenuBar(), we don't need to forcefully create
the menubar when it is created.
This commit is contained in:
parent
36aa39a9c3
commit
3e766c93b5
@ -107,7 +107,6 @@ NS_METHOD nsMenuBar::Create(nsIWidget *aParent)
|
||||
mMenuBar = gtk_menu_bar_new();
|
||||
|
||||
mParent->SetMenuBar(this);
|
||||
gtk_widget_show(mMenuBar);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user