gnome-applets r11022 - in trunk/trashapplet: . src



Author: callum
Date: Tue Sep 23 23:42:54 2008
New Revision: 11022
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11022&view=rev

Log:
Don't unref
the return value of g_file_info_get_icon, it isn't owned by
us. This should fix 553418 (see also 552577).

Modified:
   trunk/trashapplet/ChangeLog
   trunk/trashapplet/src/trashapplet.c

Modified: trunk/trashapplet/src/trashapplet.c
==============================================================================
--- trunk/trashapplet/src/trashapplet.c	(original)
+++ trunk/trashapplet/src/trashapplet.c	Tue Sep 23 23:42:54 2008
@@ -147,7 +147,6 @@
       applet->items = items;
     }
 
-  g_object_unref (icon);
   g_object_unref (info);
 }
 



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