vlc/vlc-2.0 | branch: master | Rafaël Carré <[email protected]> | Wed Feb 15 
14:44:09 2012 -0500| [c0db68ff890dac8bc408a1b9c7d9775cac52e7f9] | committer: 
Felix Paul Kühne

OSX GUI: don't check for interface pointer

It'll be valid the first time this function is called
(cherry picked from commit f4fb3707e66d259e20ad5de35bcaf599d9c59518)

Signed-off-by: Felix Paul Kühne <[email protected]>

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

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

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 3a0e11c..4dc37d7 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -677,9 +677,6 @@ static VLCMain *_o_sharedMainInstance = nil;
 
 - (void)applicationWillTerminate:(NSNotification *)notification
 {
-    if( !p_intf )
-        return;
-
     /* don't allow a double termination call. If the user has
      * already invoked the quit then simply return this time. */
     static bool f_appExit = false;

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to