From f22c5a77f194d54d811cb21916edb5f1fa909b53 Mon Sep 17 00:00:00 2001 From: yetist Date: Fri, 19 Jun 2015 22:02:35 +0800 Subject: Gtk3: Don't use deperated gtk_icon_info_free --- mate-panel/panel-util.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mate-panel/panel-util.c b/mate-panel/panel-util.c index 6bd78c34..49048289 100644 --- a/mate-panel/panel-util.c +++ b/mate-panel/panel-util.c @@ -323,7 +323,11 @@ panel_find_icon (GtkIconTheme *icon_theme, if (info) { retval = g_strdup (gtk_icon_info_get_filename (info)); +#if GTK_CHECK_VERSION (3, 8, 0) + g_object_unref (info); +#else gtk_icon_info_free (info); +#endif } else retval = NULL; -- cgit v1.2.1