diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2014-10-21 16:21:08 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2014-11-04 09:53:26 +0100 |
commit | 88f95623340a00f8fd5f9ffd0670ea464c786519 (patch) | |
tree | d3f477838943d3d0cc735c777dbcb18c8b0fcac2 | |
parent | 7d976bab1f0d2482bfdd196de931d56cab180da7 (diff) | |
download | gstreamer-plugins-bad-88f95623340a00f8fd5f9ffd0670ea464c786519.tar.gz |
gl/cocoa: Fix compiler warning
gstglwindow_cocoa.m: In function '-[GstGLNSView drawRect:]':
gstglwindow_cocoa.m:555: warning: 'GstGLNSView' may not respond to '-reshape'
gstglwindow_cocoa.m:555: warning: (Messages without a matching method signature
gstglwindow_cocoa.m:555: warning: will be assumed to return 'id' and accept
gstglwindow_cocoa.m:555: warning: '...' as arguments.)
-rw-r--r-- | gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index 27b9c3ad4..eda2ee1a0 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -552,10 +552,10 @@ resize_cb (gpointer data) } - (void)drawRect: (NSRect)dirtyRect { - [self reshape]; + [self reshape:nil]; } -- (void)reshape { +- (void)reshape: (NSNotification*)notification { GstGLWindow *window; window = GST_GL_WINDOW (window_cocoa); |