brasero r1407 - in trunk: . src



Author: philippr
Date: Wed Oct 22 11:53:50 2008
New Revision: 1407
URL: http://svn.gnome.org/viewvc/brasero?rev=1407&view=rev

Log:
	Silenced a warning

	* src/brasero-medium-selection.c
	(brasero_medium_selection_set_active):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-medium-selection.c

Modified: trunk/src/brasero-medium-selection.c
==============================================================================
--- trunk/src/brasero-medium-selection.c	(original)
+++ trunk/src/brasero-medium-selection.c	Wed Oct 22 11:53:50 2008
@@ -229,7 +229,9 @@
 				    -1);
 
 		if (medium == iter_medium) {
-			g_object_unref (iter_medium);
+			if (iter_medium)
+				g_object_unref (iter_medium);
+
 			gtk_combo_box_set_active_iter (GTK_COMBO_BOX (self), &iter);
 			result = TRUE;
 			break;



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