From 3d7a6c8db60782bdda0de448d25c5a808e43a7b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 21 Oct 2014 16:21:08 +0200 Subject: [PATCH] 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.) --- gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m | 4 ++-- 1 file 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 b3ac37a501..8f55f20cea 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);