mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.)
This commit is contained in:
parent
f0426043ce
commit
3d7a6c8db6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue