rhythmbox r6134 - in trunk: . rhythmdb



Author: jmatthew
Date: Wed Jan 21 12:41:28 2009
New Revision: 6134
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6134&view=rev

Log:
2009-01-21  Jonathan Matthew  <jonathan d14n org>

	* rhythmdb/rhythmdb-monitor.c: (actually_add_monitor):
	Don't get the file URI here - it wasn't used for anything, and we
	weren't freeing it.


Modified:
   trunk/ChangeLog
   trunk/rhythmdb/rhythmdb-monitor.c

Modified: trunk/rhythmdb/rhythmdb-monitor.c
==============================================================================
--- trunk/rhythmdb/rhythmdb-monitor.c	(original)
+++ trunk/rhythmdb/rhythmdb-monitor.c	Wed Jan 21 12:41:28 2009
@@ -124,7 +124,6 @@
 actually_add_monitor (RhythmDB *db, GFile *directory, GError **error)
 {
 	GFileMonitor *monitor;
-	char *uri;
 
 	if (directory == NULL) {
 		return;
@@ -137,7 +136,6 @@
 		return;
 	}
 
-	uri = g_file_get_uri (directory);
 	monitor = g_file_monitor_directory (directory, 0, db->priv->exiting, error);
 	if (monitor != NULL) {
 		g_signal_connect_object (G_OBJECT (monitor),



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