You need to sign in or sign up before continuing.
Commit 767f85c8 authored by step-'s avatar step-

Fix GTK2 icon browser crash.

For the GTK2 icon browser only, selecting an icon crashed yad.
parent 8957347f
......@@ -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