Unverified Commit fb3e59f2 authored by Victor Ananjevsky's avatar Victor Ananjevsky Committed by GitHub

Merge pull request #25 from step-/fix-icon-browser-gtk2

Fix GTK2 icon browser crash.
parents fc967763 767f85c8
......@@ -144,7 +144,11 @@ select_icon (GtkTreeSelection * sel, IconBrowserData * data)
g_string_free (sizes, TRUE);
if (info)
#if !GTK_CHECK_VERSION(3,0,0)
gtk_icon_info_free(info);
#else
g_object_unref (info);
#endif
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment