diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-11-13 12:01:25 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-19 17:26:56 +0100 |
commit | ec8cacdc95e7173a09b13c3efaa7d91a7ee187a4 (patch) | |
tree | 7aeb84c36d409f637a81425a1de3fa90be1a04cc | |
parent | db27bac0ccc81c39b4558259096be905d88c129a (diff) | |
download | gstreamer-plugins-bad-ec8cacdc95e7173a09b13c3efaa7d91a7ee187a4.tar.gz |
gl/cocoa: Don't override the application delegate
Otherwise interesting things will happen in Cocoa applications, like
infinite event loops that block the NSApplication loop forever.
This was only needed for GNUStep and thus can safely be removed now.
-rw-r--r-- | gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index 16cb95094..f9aa33024 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -138,8 +138,6 @@ gst_gl_window_cocoa_create_window (GstGLWindowCocoa *window_cocoa, NSRect rect) GST_DEBUG ("NSWindow id: %"G_GUINTPTR_FORMAT, (guintptr) priv->internal_win_id); - [NSApp setDelegate: priv->internal_win_id]; - return TRUE; } @@ -443,20 +441,6 @@ close_window_cb (gpointer data) return YES; } -- (void) applicationDidFinishLaunching: (NSNotification *) not { -} - -- (void) applicationWillFinishLaunching: (NSNotification *) not { -} - -- (BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)app { - /* the application is manually stopped by calling stopApp on the AppThreadPerformer */ - return NO; -} - -- (void) applicationWillTerminate:(NSNotification *)aNotification { -} - @end |