Commit 2c01440d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx: Remove VLCApplication Hack. No need for that we properly do everything...

macosx: Remove VLCApplication Hack. No need for that we properly do everything related to libvlc kill elsewhere.
parent c1e002d0
...@@ -136,9 +136,7 @@ static void Run( intf_thread_t *p_intf ) ...@@ -136,9 +136,7 @@ static void Run( intf_thread_t *p_intf )
/* Install a jmpbuffer to where we can go back before the NSApp exit /* Install a jmpbuffer to where we can go back before the NSApp exit
* see applicationWillTerminate: */ * see applicationWillTerminate: */
/* We need that code to run on main thread */ [NSApplication sharedApplication];
[VLCApplication sharedApplication];
[NSApp setVLC: p_intf->p_libvlc];
[[VLCMain sharedInstance] setIntf: p_intf]; [[VLCMain sharedInstance] setIntf: p_intf];
[NSBundle loadNibNamed: @"MainMenu" owner: NSApp]; [NSBundle loadNibNamed: @"MainMenu" owner: NSApp];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment