>From ef849b7a2e414e61e051ec49dfb3567eca310885 Mon Sep 17 00:00:00 2001 From: Philipp Kaluza Date: Sun, 29 Sep 2013 14:23:51 +0200 Subject: [PATCH] Partially revert "panel: fix deprecated warnings (part 1)" This reverts parts of commit dde999b0ba9d444f5d97ff13179a585dfe1ee711 - GtkIconInfo _is_ a GObject now, but appearently the reference counting is not initialized correctly in some versions of GTK+, so let's use gtk_icon_info_free() a while longer. --- gnome-panel/panel-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnome-panel/panel-util.c b/gnome-panel/panel-util.c index eb591c1..1172af4 100644 --- a/gnome-panel/panel-util.c +++ b/gnome-panel/panel-util.c @@ -287,7 +287,7 @@ panel_find_icon (GtkIconTheme *icon_theme, if (info) { retval = g_strdup (gtk_icon_info_get_filename (info)); - g_object_unref (info); + gtk_icon_info_free (info); } else retval = NULL; -- 1.8.4.rc3