[vlc-devel] commit: macosx: Remove VLCApplication Hack. No need for that we properly do everything related to libvlc kill elsewhere . (Pierre d'Herbemont )

git version control git at videolan.org
Sun Aug 17 13:44:38 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug 17 13:33:19 2008 +0200| [2c01440d37625c8a30ea1c8cf2a2e1f7b4750aa4] | committer: Pierre d'Herbemont 

macosx: Remove VLCApplication Hack. No need for that we properly do everything related to libvlc kill elsewhere.

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

 modules/gui/macosx/intf.m |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 1d9896f..1bbf3b2 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];




More information about the vlc-devel mailing list