diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-16 13:01:03 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-16 13:01:03 +0200 |
commit | e5e03d83c9c20017e9a042023b84ad2a21524210 (patch) | |
tree | 15284307b14984094956e7c952d6af9840f0588e /libmate-desktop | |
parent | c33d376f7ad3798953d27a8c45060b67fe7cf8d0 (diff) | |
download | mate-desktop-e5e03d83c9c20017e9a042023b84ad2a21524210.tar.bz2 mate-desktop-e5e03d83c9c20017e9a042023b84ad2a21524210.tar.xz |
Fix gtk3 deprecation
Diffstat (limited to 'libmate-desktop')
-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); } |