osxvideosink: fix missing selector name warnings
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Mon, 28 Oct 2013 14:13:12 +0000 (14:13 +0000)
committerOlivier CrĂȘte <olivier.crete@collabora.com>
Mon, 28 Oct 2013 14:40:16 +0000 (14:40 +0000)
The spaces matter in ObjC

https://bugzilla.gnome.org/show_bug.cgi?id=711013

sys/osxvideo/cocoawindow.h
sys/osxvideo/cocoawindow.m

index a896d22..a7e7f98 100644 (file)
@@ -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;
index 0491ab9..e004963 100644 (file)
@@ -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;