summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-12 18:20:29 +0100
committerwm4 <wm4@nowhere>2015-02-12 21:18:12 +0100
commitb8de478f51fdd9982482f8e9f3502a5e0d97f31c (patch)
treefb3621bb2ca0718a0f8feb5fda2d592248d8d8c9 /player/main.c
parente920a00ebad645cd14d341f4dabd4c5c077d2e0c (diff)
downloadmpv-b8de478f51fdd9982482f8e9f3502a5e0d97f31c.tar.bz2
mpv-b8de478f51fdd9982482f8e9f3502a5e0d97f31c.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/main.c')
-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;
}