[totem] main: Update for "error" signal change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Update for "error" signal change
- Date: Thu, 5 Jul 2012 14:27:04 +0000 (UTC)
commit 3011a5c9971e2edce4f57517b76e54de3baaa78c
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jul 4 21:05:20 2012 +0100
main: Update for "error" signal change
src/totem-object.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 264a79c..5db9aca 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2406,7 +2406,7 @@ on_got_metadata_event (BaconVideoWidget *bvw, TotemObject *totem)
static void
on_error_event (BaconVideoWidget *bvw, char *message,
- gboolean playback_stopped, gboolean fatal, TotemObject *totem)
+ gboolean playback_stopped, TotemObject *totem)
{
/* Clear the seek if it's there, we only want to try and seek
* the first file, even if it's not there */
@@ -2416,12 +2416,7 @@ on_error_event (BaconVideoWidget *bvw, char *message,
if (playback_stopped)
play_pause_set_label (totem, STATE_STOPPED);
- if (fatal == FALSE) {
- totem_action_error (totem, _("An error occurred"), message);
- } else {
- totem_action_error_and_exit (_("An error occurred"),
- message, totem);
- }
+ totem_action_error (totem, _("An error occurred"), message);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]