vlc | branch: master | Felix Paul Kühne <fe...@feepk.net> | Sun Jun 10 17:15:40 
2018 +0200| [a50dad91b667c74ba96ed17fbcd53d7c73baf30c] | committer: Felix Paul 
Kühne

macosx: modernize xib file use for the main menu

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a50dad91b667c74ba96ed17fbcd53d7c73baf30c
---

 modules/gui/macosx/VLCMain.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/VLCMain.m b/modules/gui/macosx/VLCMain.m
index 80eb6acf27..ec9c7385fe 100644
--- a/modules/gui/macosx/VLCMain.m
+++ b/modules/gui/macosx/VLCMain.m
@@ -96,7 +96,7 @@ int OpenIntf (vlc_object_t *p_this)
             [VLCApplication sharedApplication];
             [VLCMain sharedInstance];
 
-            [NSBundle loadNibNamed:@"MainMenu" owner:[[VLCMain sharedInstance] 
mainMenu]];
+            [[NSBundle mainBundle] loadNibNamed:@"MainMenu" owner:[[VLCMain 
sharedInstance] mainMenu] topLevelObjects:nil];
             [[[VLCMain sharedInstance] mainWindow] makeKeyAndOrderFront:nil];
 
             msg_Dbg(p_intf, "Finished loading macosx interface");

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to