summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-12 18:20:29 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-02-16 18:08:52 +0900
commit94123474a4b665bb7cc7b686703a30069daadf77 (patch)
tree93074dfacd03a1dd60a3aca2b22cb02f31115b61 /player
parent50a7aac4d796a6fdcc73a502616601ecf3da3425 (diff)
downloadmpv-94123474a4b665bb7cc7b686703a30069daadf77.tar.bz2
mpv-94123474a4b665bb7cc7b686703a30069daadf77.tar.xz
osx: move cocoa specific call out of common code
This is almost equivalent, and gets rid of the ifdef.
Diffstat (limited to 'player')
-rw-r--r--player/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/player/main.c b/player/main.c
index b5ec21db0a..118aef9eed 100644
--- a/player/main.c
+++ b/player/main.c
@@ -71,9 +71,6 @@
#endif
#endif
-#if HAVE_COCOA_APPLICATION
-#include "osdep/macosx_application.h"
-#endif
#if HAVE_COCOA
#include "osdep/macosx_events.h"
#endif
@@ -227,11 +224,6 @@ static int prepare_exit_cplayer(struct MPContext *mpctx, enum exit_reason how)
rc = mpctx->quit_custom_rc;
mp_destroy(mpctx);
-
-#if HAVE_COCOA_APPLICATION
- // Note: this function never returns due to Cocoa calling exit(0)
- terminate_cocoa_application();
-#endif
return rc;
}