[brasero/gnome-2-30] Avoid having time remaining set as a weird value Use long values for g_signal_emit ()



commit 8933defeeb3ace3338d8e2c22464dcf8c44f207d
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Tue May 18 23:28:16 2010 +0200

    Avoid having time remaining set as a weird value
    Use long values for g_signal_emit ()

 libbrasero-burn/brasero-burn.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn.c b/libbrasero-burn/brasero-burn.c
index da9c65b..043151e 100644
--- a/libbrasero-burn/brasero-burn.c
+++ b/libbrasero-burn/brasero-burn.c
@@ -229,14 +229,14 @@ brasero_burn_action_changed_real (BraseroBurn *burn,
 		               0,
 		               1.0,
 		               1.0,
-		               -1);
+		               -1L);
 	else if (action == BRASERO_BURN_ACTION_EJECTING)
 		g_signal_emit (burn,
 			       brasero_burn_signals [PROGRESS_CHANGED_SIGNAL],
 			       0,
 			       -1.0,
 			       -1.0,
-			       -1);
+			       -1L);
 }
 
 static gboolean
@@ -1519,7 +1519,7 @@ start:
 			       0,
 			       1.0,
 			       1.0,
-			       -1);
+			       -1L);
 		return BRASERO_BURN_OK;
 	}
 
@@ -2296,7 +2296,7 @@ brasero_burn_check_real (BraseroBurn *self,
 			       0,
 			       1.0,
 			       1.0,
-			       -1);
+			       -1L);
 
 		g_object_unref (priv->task);
 		priv->task = NULL;



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