diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-06-26 23:16:08 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-06-26 23:16:08 +0100 |
commit | 8cede4ae6a1b81ee1a240f9285806f074be65286 (patch) | |
tree | 6b2e5b8f28865736e204cf2917cafe6b9efa47e5 /sys/ximage/ximagesink.c | |
parent | c16e7321b92bf2299a1248351a67ae3152b7c3fa (diff) |
gst, sys: remove GstImplementsInterface usage
Diffstat (limited to 'sys/ximage/ximagesink.c')
-rw-r--r-- | sys/ximage/ximagesink.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 818678883..80b575f13 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -168,13 +168,10 @@ enum /* Object typing & Creation */ /* */ /* =========================================== */ -static void gst_ximagesink_interface_init (GstImplementsInterfaceClass * klass); static void gst_ximagesink_navigation_init (GstNavigationInterface * klass); static void gst_ximagesink_xoverlay_init (GstXOverlayClass * klass); #define gst_ximagesink_parent_class parent_class G_DEFINE_TYPE_WITH_CODE (GstXImageSink, gst_ximagesink, GST_TYPE_VIDEO_SINK, - G_IMPLEMENT_INTERFACE (GST_TYPE_IMPLEMENTS_INTERFACE, - gst_ximagesink_interface_init); G_IMPLEMENT_INTERFACE (GST_TYPE_NAVIGATION, gst_ximagesink_navigation_init); G_IMPLEMENT_INTERFACE (GST_TYPE_X_OVERLAY, gst_ximagesink_xoverlay_init)); @@ -1519,22 +1516,6 @@ config_failed: } /* Interfaces stuff */ - -static gboolean -gst_ximagesink_interface_supported (GstImplementsInterface * iface, GType type) -{ - if (type == GST_TYPE_NAVIGATION || type == GST_TYPE_X_OVERLAY) - return TRUE; - else - return FALSE; -} - -static void -gst_ximagesink_interface_init (GstImplementsInterfaceClass * klass) -{ - klass->supported = gst_ximagesink_interface_supported; -} - static void gst_ximagesink_navigation_send_event (GstNavigation * navigation, GstStructure * structure) |