libgnomeui r5613 - in branches/gnome-2-22: . file-chooser



Author: friemann
Date: Tue Jun  3 19:03:34 2008
New Revision: 5613
URL: http://svn.gnome.org/viewvc/libgnomeui?rev=5613&view=rev

Log:
2008-06-03  Felix Riemann  <friemann svn gnome org>

	* file-chooser/gtkfilesystemgio.c:
	(gtk_file_system_gio_volume_get_icon_name):
	Stop leaking GIcons. Fixes bug #536393.


Modified:
   branches/gnome-2-22/ChangeLog
   branches/gnome-2-22/file-chooser/gtkfilesystemgio.c

Modified: branches/gnome-2-22/file-chooser/gtkfilesystemgio.c
==============================================================================
--- branches/gnome-2-22/file-chooser/gtkfilesystemgio.c	(original)
+++ branches/gnome-2-22/file-chooser/gtkfilesystemgio.c	Tue Jun  3 19:03:34 2008
@@ -1355,6 +1355,7 @@
     }
 
   name = get_icon_string (icon);
+  g_object_unref (icon);
 
   return name;
 }



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