Re: [PATCH] Use the volume monitor correctly and make it act like Nautilus' sidebar
- From: David Zeuthen <david fubar dk>
- To: carlos imendio com
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: [PATCH] Use the volume monitor correctly and make it act like Nautilus' sidebar
- Date: Fri, 14 Dec 2007 19:36:08 -0500
On Fri, 2007-12-14 at 19:25 -0500, David Zeuthen wrote:
> I've attached the patch to this mail. Thanks for reviewing it.
And here's a patch that fixes a leak. Goes on top of the previous one.
Sorry about that. Thanks!
David
diff --git a/src/gtkfilesystemgvfs.c b/src/gtkfilesystemgvfs.c
index 4c0c080..a93e3e7 100644
--- a/src/gtkfilesystemgvfs.c
+++ b/src/gtkfilesystemgvfs.c
@@ -284,8 +284,8 @@ get_volumes_list (GtkFileSystemGVfs *file_system)
* he just unmounted it.
*/
file_system->volumes = g_slist_prepend (file_system->volumes, g_object_ref (volume));
- g_object_unref (volume);
}
+ g_object_unref (volume);
}
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]