remove gst_video_sink_push_ui_event()
authorDavid Schleef <ds@schleef.org>
Mon, 10 Nov 2003 22:48:31 +0000 (22:48 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 10 Nov 2003 22:48:31 +0000 (22:48 +0000)
Original commit message from CVS:
remove gst_video_sink_push_ui_event()

gst-libs/gst/video/gstvideosink.c
gst-libs/gst/video/gstvideosink.h
gst-libs/gst/video/videosink.h

index ed6c162..74ac082 100644 (file)
@@ -213,29 +213,6 @@ gst_video_sink_set_video_out (GstVideoSink *videosink, gpointer video_out)
 }
 
 /**
- * gst_video_sink_push_ui_event:
- * @videosink: a #GstVideoSink to push the event to.
- * @event: the #GstEvent to be pushed.
- *
- * This will push an event to the video sink. That event is supposed to be
- * a user interface event and will be forwarded upstream to provide
- * interactivity support.
- */
-void
-gst_video_sink_push_ui_event (GstVideoSink *videosink, GstEvent *event)
-{
-  GstVideoSinkClass *class;
-  
-  g_return_if_fail (videosink != NULL);
-  g_return_if_fail (GST_IS_VIDEOSINK (videosink));
-  
-  class = GST_VIDEOSINK_GET_CLASS (videosink);
-  
-  if (class->push_ui_event)
-    class->push_ui_event (videosink, event);
-}
-
-/**
  * gst_video_sink_set_geometry:
  * @videosink: a #GstVideoSink which geometry will be set.
  * @width: a width as a #gint.
index 171a91b..5adab20 100644 (file)
@@ -70,7 +70,6 @@ struct _GstVideoSinkClass {
   
   /* public virtual methods */
   void (*set_video_out) (GstVideoSink *videosink, gpointer video_out);
-  void (*push_ui_event) (GstVideoSink *videosink, GstEvent *event);
   void (*set_geometry)  (GstVideoSink *videosink, gint width, gint height);
   
   /* signals */
@@ -85,7 +84,6 @@ GType gst_videosink_get_type (void);
 
 /* public virtual methods */
 void gst_video_sink_set_video_out (GstVideoSink *videosink, gpointer video_out);
-void gst_video_sink_push_ui_event (GstVideoSink *videosink, GstEvent *event);
 void gst_video_sink_set_geometry  (GstVideoSink *videosink, gint width,
                                    gint height);
 
index 171a91b..5adab20 100644 (file)
@@ -70,7 +70,6 @@ struct _GstVideoSinkClass {
   
   /* public virtual methods */
   void (*set_video_out) (GstVideoSink *videosink, gpointer video_out);
-  void (*push_ui_event) (GstVideoSink *videosink, GstEvent *event);
   void (*set_geometry)  (GstVideoSink *videosink, gint width, gint height);
   
   /* signals */
@@ -85,7 +84,6 @@ GType gst_videosink_get_type (void);
 
 /* public virtual methods */
 void gst_video_sink_set_video_out (GstVideoSink *videosink, gpointer video_out);
-void gst_video_sink_push_ui_event (GstVideoSink *videosink, GstEvent *event);
 void gst_video_sink_set_geometry  (GstVideoSink *videosink, gint width,
                                    gint height);