brasero r1120 - in trunk: . src



Author: philippr
Date: Tue Aug 19 06:59:33 2008
New Revision: 1120
URL: http://svn.gnome.org/viewvc/brasero?rev=1120&view=rev

Log:
	Small warning

	* src/brasero-player.c (brasero_player_set_length):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-player.c

Modified: trunk/src/brasero-player.c
==============================================================================
--- trunk/src/brasero-player.c	(original)
+++ trunk/src/brasero-player.c	Tue Aug 19 06:59:33 2008
@@ -298,7 +298,7 @@
 static void
 brasero_player_set_length (BraseroPlayer *player)
 {
-	if (player->priv->progress)
+	if (player->priv->progress && player->priv->end - player->priv->start != 0)
 		gtk_range_set_range (GTK_RANGE (player->priv->progress),
 				     0.0,
 				     (gdouble) player->priv->end - player->priv->start);



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