mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-24 12:41:16 +00:00
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.
This commit is contained in:
parent
fbc0b76739
commit
ecf2d1070c
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user