gnome-applets r11023 - in branches/gnome-2-24/trashapplet: . src



Author: callum
Date: Wed Sep 24 01:17:56 2008
New Revision: 11023
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=11023&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:
   branches/gnome-2-24/trashapplet/ChangeLog
   branches/gnome-2-24/trashapplet/src/trashapplet.c

Modified: branches/gnome-2-24/trashapplet/src/trashapplet.c
==============================================================================
--- branches/gnome-2-24/trashapplet/src/trashapplet.c	(original)
+++ branches/gnome-2-24/trashapplet/src/trashapplet.c	Wed Sep 24 01:17:56 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]