[clutter-gst] video-texture: Remove unused message callback



commit 69e014e13f9dbff2eef9a9730aa79800d56aae04
Author: Damien Lespiau <damien lespiau intel com>
Date:   Wed Jul 6 12:06:57 2011 +0100

    video-texture: Remove unused message callback
    
    We don't need to listen to APPLICATION messages from the bus.

 clutter-gst/clutter-gst-video-texture.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/clutter-gst/clutter-gst-video-texture.c b/clutter-gst/clutter-gst-video-texture.c
index be1e432..0488c91 100644
--- a/clutter-gst/clutter-gst-video-texture.c
+++ b/clutter-gst/clutter-gst-video-texture.c
@@ -1668,15 +1668,6 @@ bus_message_async_done_cb (GstBus                 *bus,
 }
 
 static void
-bus_message_application_cb (GstBus                 *bus,
-                            GstMessage             *message,
-                            ClutterGstVideoTexture *video_texture)
-{
-  g_message ("application message");
-
-}
-
-static void
 on_source_changed (GstElement             *pipeline,
                    GParamSpec             *pspec,
                    ClutterGstVideoTexture *video_texture)
@@ -1955,9 +1946,6 @@ clutter_gst_video_texture_init (ClutterGstVideoTexture *video_texture)
   g_signal_connect_object (bus, "message::async-done",
                            G_CALLBACK (bus_message_async_done_cb),
                            video_texture, 0);
-  g_signal_connect_object (bus, "message::application",
-                           G_CALLBACK (bus_message_application_cb),
-                           video_texture, 0);
 
   g_signal_connect (priv->pipeline, "notify::volume",
 		    G_CALLBACK (on_volume_changed), video_texture);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]