rhythmbox r5743 - in trunk: . lib



Author: jmatthew
Date: Wed Jun 11 22:37:12 2008
New Revision: 5743
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5743&view=rev

Log:
2008-06-12  Jonathan Matthew  <jonathan d14n org>

	* lib/rb-util.c: (get_mount_points):
	Unref volumes, rather than re-refing them.  Spotted by Colin Leroy,
	#537786.


Modified:
   trunk/ChangeLog
   trunk/lib/rb-util.c

Modified: trunk/lib/rb-util.c
==============================================================================
--- trunk/lib/rb-util.c	(original)
+++ trunk/lib/rb-util.c	Wed Jun 11 22:37:12 2008
@@ -348,7 +348,7 @@
 		mount_points = g_list_prepend (mount_points, uri);
 	}
 
-	g_list_foreach (volumes, (GFunc)gnome_vfs_volume_ref, NULL);
+	g_list_foreach (volumes, (GFunc)gnome_vfs_volume_unref, NULL);
 	g_list_free (volumes);
 
 	return mount_points;



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