diff options
-rw-r--r-- | mate-panel/panel-util.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |