[totem] backend: Remove "fatal" parameter to the "error" signal



commit f633ea6c95af172aa5d6c0a530971af997a64a19
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 4 21:05:08 2012 +0100

    backend: Remove "fatal" parameter to the "error" signal

 src/backend/bacon-video-widget-gst-0.10.c |   11 +++++------
 src/backend/bacon-video-widget.h          |    3 +--
 src/backend/baconvideowidget-marshal.list |    2 +-
 3 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/src/backend/bacon-video-widget-gst-0.10.c b/src/backend/bacon-video-widget-gst-0.10.c
index 6fe1e78..0ae0b2b 100644
--- a/src/backend/bacon-video-widget-gst-0.10.c
+++ b/src/backend/bacon-video-widget-gst-0.10.c
@@ -396,7 +396,7 @@ bvw_check_if_video_decoder_is_missing (BaconVideoWidget * bvw)
         g_error_free (err);
         err = bvw_error_from_gst_error (bvw, msg);
         gst_message_unref (msg);
-        g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0, err->message, FALSE, FALSE);
+        g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0, err->message, FALSE);
         g_error_free (err);
         g_free (d);
         break;
@@ -1019,9 +1019,8 @@ bacon_video_widget_class_init (BaconVideoWidgetClass * klass)
                   G_SIGNAL_RUN_LAST,
                   G_STRUCT_OFFSET (BaconVideoWidgetClass, error),
                   NULL, NULL,
-                  baconvideowidget_marshal_VOID__STRING_BOOLEAN_BOOLEAN,
-                  G_TYPE_NONE, 3, G_TYPE_STRING,
-                  G_TYPE_BOOLEAN, G_TYPE_BOOLEAN);
+                  baconvideowidget_marshal_VOID__STRING_BOOLEAN,
+                  G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_BOOLEAN);
 
   /**
    * BaconVideoWidget::eos:
@@ -1282,7 +1281,7 @@ mount_cb (GObject *obj, GAsyncResult *res, gpointer user_data)
     g_error_free (error);
     err = bvw_error_from_gst_error (bvw, msg);
     gst_message_unref (msg);
-    g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0, err->message, FALSE, FALSE);
+    g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0, err->message, FALSE);
     g_error_free (err);
   }
 
@@ -1956,7 +1955,7 @@ bvw_bus_message_cb (GstBus * bus, GstMessage * message, BaconVideoWidget *bvw)
         bvw->priv->buffering = FALSE;
 
         g_signal_emit (bvw, bvw_signals[SIGNAL_ERROR], 0,
-                       error->message, TRUE, FALSE);
+                       error->message, TRUE);
 
         g_error_free (error);
       }
diff --git a/src/backend/bacon-video-widget.h b/src/backend/bacon-video-widget.h
index 049a479..61bf2e4 100644
--- a/src/backend/bacon-video-widget.h
+++ b/src/backend/bacon-video-widget.h
@@ -64,8 +64,7 @@ typedef struct {
 	/*< private >*/
 	GtkClutterEmbedClass parent_class;
 
-	void (*error) (GtkWidget *bvw, const char *message,
-                       gboolean playback_stopped, gboolean fatal);
+	void (*error) (GtkWidget *bvw, const char *message, gboolean playback_stopped);
 	void (*eos) (GtkWidget *bvw);
 	void (*got_metadata) (GtkWidget *bvw);
 	void (*got_redirect) (GtkWidget *bvw, const char *mrl);
diff --git a/src/backend/baconvideowidget-marshal.list b/src/backend/baconvideowidget-marshal.list
index eeb987a..7be41bf 100644
--- a/src/backend/baconvideowidget-marshal.list
+++ b/src/backend/baconvideowidget-marshal.list
@@ -1,3 +1,3 @@
 VOID:INT64,INT64,DOUBLE,BOOLEAN
-VOID:STRING,BOOLEAN,BOOLEAN
+VOID:STRING,BOOLEAN
 BOOLEAN:BOXED,BOXED,BOOLEAN



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