diff options
author | raveit65 <[email protected]> | 2016-05-25 23:55:29 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-05-26 01:51:37 +0200 |
commit | 761903e8782a005a51961b4e3b1d6cc51b9889a6 (patch) | |
tree | afafef22f34bea0626cf01535b1c4f1f68658042 /src | |
parent | b961bb3d4daf980560ef79af178ae573f3e4da72 (diff) | |
download | engrampa-761903e8782a005a51961b4e3b1d6cc51b9889a6.tar.bz2 engrampa-761903e8782a005a51961b4e3b1d6cc51b9889a6.tar.xz |
GTK3 gtk-utils: do not use deprecated gtk_icon_info_free
Diffstat (limited to 'src')
-rw-r--r-- | src/gtk-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gtk-utils.c b/src/gtk-utils.c index 8d29c07..b959e29 100644 --- a/src/gtk-utils.c +++ b/src/gtk-utils.c @@ -682,7 +682,11 @@ get_themed_icon_pixbuf (GThemedIcon *icon, g_clear_error (&error); } +#if GTK_CHECK_VERSION (3, 0, 0) + g_object_unref (icon_info); +#else gtk_icon_info_free (icon_info); +#endif g_strfreev (icon_names); return pixbuf; |