]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkiconfactory.c
GtkColorChooserWidget: deselect swatch before removing palettes
[~andy/gtk] / gtk / gtkiconfactory.c
index a3bfea78b7974bcc869870022a368cd0848216e3..b40267335b0a78c0a1ec613de399e2a2422de375 100644 (file)
@@ -1569,7 +1569,7 @@ render_icon_name_pixbuf (GtkIconSource    *icon_source,
       if (info)
         {
           tmp_pixbuf = gtk_icon_info_load_icon (info, &error);
-          gtk_icon_info_free (info);
+          g_object_unref (info);
         }
       else
         tmp_pixbuf = NULL;