Commit ecf2d107 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Don't leak the icon source.

Mon Aug  9 00:13:03 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
	leak the icon source.
parent fbc0b767
Mon Aug 9 00:13:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
......
Mon Aug 9 00:13:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
......
Mon Aug 9 00:13:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
......
Mon Aug 9 00:13:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkaboutdialog.c (icon_set_new_from_pixbufs): Don't
leak the icon source.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
......
......@@ -1225,6 +1225,7 @@ icon_set_new_from_pixbufs (GList *pixbufs)
GtkIconSource *icon_source = gtk_icon_source_new ();
gtk_icon_source_set_pixbuf (icon_source, pixbuf);
gtk_icon_set_add_source (icon_set, icon_source);
gtk_icon_source_free (icon_source);
}
return icon_set;
......
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