diff options
Diffstat (limited to 'libmate-desktop/mate-desktop-item.c')
-rw-r--r-- | libmate-desktop/mate-desktop-item.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-desktop-item.c b/libmate-desktop/mate-desktop-item.c index df30f72..c1304be 100644 --- a/libmate-desktop/mate-desktop-item.c +++ b/libmate-desktop/mate-desktop-item.c @@ -2505,7 +2505,11 @@ mate_desktop_item_find_icon (GtkIconTheme *icon_theme, full = NULL; if (info) { full = 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 } g_free (icon_no_extension); } |