]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtknumerableicon.c
filechooserbutton: Don't duplicate tests for GTK_RESPONSE_DELETE_EVENT
[~andy/gtk] / gtk / gtknumerableicon.c
index a1131f576e1649cfd5e2fd05510771e6a3de5763..e46547174a6e0b722ad00fd532d38af7ec6b02b7 100644 (file)
@@ -215,7 +215,7 @@ draw_from_gicon (GtkNumerableIcon *self)
     return NULL;
 
   pixbuf = gtk_icon_info_load_icon (info, NULL);
-  gtk_icon_info_free (info);
+  g_object_unref (info);
 
   if (pixbuf == NULL)
     return NULL;