diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m index 1d9896fada838f84ea08d27244c87d0ba9bde92f..1bbf3b29da1b7061a8345fae8920ecb688c7f60e 100644 --- a/modules/gui/macosx/intf.m +++ b/modules/gui/macosx/intf.m @@ -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 * see applicationWillTerminate: */ - /* We need that code to run on main thread */ - [VLCApplication sharedApplication]; - [NSApp setVLC: p_intf->p_libvlc]; + [NSApplication sharedApplication]; [[VLCMain sharedInstance] setIntf: p_intf]; [NSBundle loadNibNamed: @"MainMenu" owner: NSApp];