]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkiconhelper.c
appchooserdialog: remove redundant checks
[~andy/gtk] / gtk / gtkiconhelper.c
index 37ba5811c81b476c7287c3f6da69f8183fe9a3f3..58ae8a15db776402e7195525b871e10672a5192e 100644 (file)
@@ -263,7 +263,7 @@ ensure_pixbuf_for_icon_name_or_gicon (GtkIconHelper *self,
   self->priv->rendered_pixbuf = ensure_stated_icon_from_info (self, context, info);
 
   if (info)
-    gtk_icon_info_free (info);
+    g_object_unref (info);
 }
 
 static void