summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtk-utils.c4
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;