brasero r1048 - in trunk: . src



Author: philippr
Date: Mon Aug  4 07:35:08 2008
New Revision: 1048
URL: http://svn.gnome.org/viewvc/brasero?rev=1048&view=rev

Log:
	Other harmless warnings fixed

	* src/brasero-jacket-view.c (brasero_jacket_view_update_color):
	* src/brasero-rename.c (brasero_rename_do):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-jacket-view.c
   trunk/src/brasero-rename.c

Modified: trunk/src/brasero-jacket-view.c
==============================================================================
--- trunk/src/brasero-jacket-view.c	(original)
+++ trunk/src/brasero-jacket-view.c	Mon Aug  4 07:35:08 2008
@@ -1023,7 +1023,7 @@
 							       0.0,
 							       width,
 							       0.0);
-		else if (priv->color_style == BRASERO_JACKET_COLOR_VGRADIENT)
+		else /* if (priv->color_style == BRASERO_JACKET_COLOR_VGRADIENT) */
 			pattern = cairo_pattern_create_linear (0.0,
 							       0.0,
 							       0.0,

Modified: trunk/src/brasero-rename.c
==============================================================================
--- trunk/src/brasero-rename.c	(original)
+++ trunk/src/brasero-rename.c	Mon Aug  4 07:35:08 2008
@@ -211,6 +211,7 @@
 			new_name = brasero_rename_number_string (self, name);
 			break;
 		default:
+			new_name = NULL;
 			break;
 		}
 
@@ -230,6 +231,7 @@
 		}
 		g_free (name);
 	}
+
 	g_list_foreach (selected, (GFunc) gtk_tree_path_free, NULL);
 	g_list_free (selected);
 	return TRUE;



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