brasero r1044 - in trunk: . src



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

Log:
	Fixed a couple of harmless warnings

	* src/brasero-audio-disc.c (brasero_audio_disc_visit_dir_async):
	* src/brasero-project.c (brasero_project_set_uri):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-audio-disc.c
   trunk/src/brasero-project.c

Modified: trunk/src/brasero-audio-disc.c
==============================================================================
--- trunk/src/brasero-audio-disc.c	(original)
+++ trunk/src/brasero-audio-disc.c	Mon Aug  4 07:21:12 2008
@@ -1472,8 +1472,6 @@
 brasero_audio_disc_visit_dir_async (BraseroAudioDisc *disc,
 				    const gchar *uri)
 {
-	gboolean result;
-
 	if (!disc->priv->io)
 		disc->priv->io = brasero_io_get_default ();
 
@@ -1494,7 +1492,7 @@
 				   BRASERO_IO_INFO_METADATA_MISSING_CODEC|
 				   BRASERO_IO_INFO_RECURSIVE,
 				   NULL);
-	return result;
+	return BRASERO_DISC_OK;
 }
 
 static gboolean

Modified: trunk/src/brasero-project.c
==============================================================================
--- trunk/src/brasero-project.c	(original)
+++ trunk/src/brasero-project.c	Mon Aug  4 07:21:12 2008
@@ -1748,6 +1748,9 @@
 		title = g_strdup_printf (_("Brasero - %s (Audio Disc)"), name);
 	else if (type == BRASERO_PROJECT_TYPE_AUDIO)
 		title = g_strdup_printf (_("Brasero - %s (Video Disc)"), name);
+	else
+		title = NULL;
+
 	g_free (name);
 
 	toplevel = gtk_widget_get_toplevel (GTK_WIDGET (project));



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