From 9bda5831b8818d0fe4286fdb1217085913277c0d Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sun, 7 Dec 2003 12:11:30 +0000 Subject: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces Original commit message from CVS: Move over from GstInterface to GstImplementsInterface. Also adds some signals to several interfaces --- ext/sdl/sdlvideosink.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'ext') diff --git a/ext/sdl/sdlvideosink.c b/ext/sdl/sdlvideosink.c index 75d3134f..f75ee233 100644 --- a/ext/sdl/sdlvideosink.c +++ b/ext/sdl/sdlvideosink.c @@ -44,8 +44,8 @@ static void gst_sdlvideosink_base_init (gpointer g_class); static void gst_sdlvideosink_class_init (GstSDLVideoSinkClass *klass); static void gst_sdlvideosink_init (GstSDLVideoSink *sdl); -static void gst_sdlvideosink_interface_init (GstInterfaceClass *klass); -static gboolean gst_sdlvideosink_interface_supported (GstInterface *iface, +static void gst_sdlvideosink_interface_init (GstImplementsInterfaceClass *klass); +static gboolean gst_sdlvideosink_supported (GstImplementsInterface *iface, GType type); static void gst_sdlvideosink_xoverlay_init (GstXOverlayClass *klass); @@ -116,7 +116,7 @@ gst_sdlvideosink_get_type (void) sdlvideosink_type = g_type_register_static(GST_TYPE_VIDEOSINK, "GstSDLVideoSink", &sdlvideosink_info, 0); - g_type_add_interface_static(sdlvideosink_type, GST_TYPE_INTERFACE, + g_type_add_interface_static(sdlvideosink_type, GST_TYPE_IMPLEMENTS_INTERFACE, &iface_info); g_type_add_interface_static(sdlvideosink_type, GST_TYPE_X_OVERLAY, &xoverlay_info); @@ -296,14 +296,14 @@ gst_sdlvideosink_init (GstSDLVideoSink *sdlvideosink) } static void -gst_sdlvideosink_interface_init (GstInterfaceClass *klass) +gst_sdlvideosink_interface_init (GstImplementsInterfaceClass *klass) { - klass->supported = gst_sdlvideosink_interface_supported; + klass->supported = gst_sdlvideosink_supported; } static gboolean -gst_sdlvideosink_interface_supported (GstInterface *interface, - GType iface_type) +gst_sdlvideosink_supported (GstImplementsInterface *interface, + GType iface_type) { g_assert (iface_type == GST_TYPE_X_OVERLAY); -- cgit v1.2.1