Revision: 1658 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1658&view=re... Author: dimitrov-adrian Date: 2010-10-16 15:48:45 +0000 (Sat, 16 Oct 2010)
Log Message: ----------- Treebrowser: blah...
Modified Paths: -------------- trunk/geany-plugins/treebrowser/src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-16 15:43:29 UTC (rev 1657) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-16 15:48:45 UTC (rev 1658) @@ -167,14 +167,12 @@ { gtk_icon_size_lookup(GTK_ICON_SIZE_MENU, &width, NULL); info = gtk_icon_theme_lookup_by_gicon(gtk_icon_theme_get_default(), icon, width, GTK_ICON_LOOKUP_USE_BUILTIN); + g_object_unref(icon); if (!info) return NULL; ret = gtk_icon_info_load_icon (info, NULL); gtk_icon_info_free(info); } - - g_object_unref(icon); - return ret; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.