diff --git a/sys/osxvideo/cocoawindow.h b/sys/osxvideo/cocoawindow.h index a896d228b7..a7e7f9804a 100644 --- a/sys/osxvideo/cocoawindow.h +++ b/sys/osxvideo/cocoawindow.h @@ -63,7 +63,7 @@ struct _GstOSXImage; - (void) setFullScreen: (BOOL) flag; - (void) setKeepAspectRatio: (BOOL) flag; - (void) reshape; -- (void) setVideoSize: (int) w: (int) h; +- (void) setVideoSize:(int)w : (int)h; - (NSRect) getDrawingBounds; - (BOOL) haveSuperview; - (void) haveSuperviewReal: (NSMutableArray *)closure; diff --git a/sys/osxvideo/cocoawindow.m b/sys/osxvideo/cocoawindow.m index 0491ab979e..e004963c9a 100644 --- a/sys/osxvideo/cocoawindow.m +++ b/sys/osxvideo/cocoawindow.m @@ -681,7 +681,7 @@ const gchar* gst_keycode_to_keyname(gint16 keycode) } } -- (void) setVideoSize: (int) w:(int) h { +- (void) setVideoSize: (int)w : (int)h { GST_LOG ("width:%d, height:%d", w, h); width = w; @@ -769,7 +769,7 @@ const gchar* gst_keycode_to_keyname(gint16 keycode) navigation = nav; } -- (void)sendMouseEvent:(NSEvent *)event: (const char *)event_name +- (void)sendMouseEvent:(NSEvent *)event : (const char *)event_name { NSPoint location; gint button; @@ -806,7 +806,7 @@ const gchar* gst_keycode_to_keyname(gint16 keycode) gst_navigation_send_mouse_event (navigation, event_name, button, x, y); } -- (void)sendKeyEvent:(NSEvent *)event: (const char *)event_name +- (void)sendKeyEvent:(NSEvent *)event : (const char *)event_name { if (!navigation) return;