mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Don't leak a reference to the pixbufs.
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't leak a reference to the pixbufs.
This commit is contained in:
parent
0c42eed2de
commit
fbc0b76739
@ -1,3 +1,8 @@
|
|||||||
|
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
|
||||||
|
leak a reference to the pixbufs.
|
||||||
|
|
||||||
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
|
||||||
|
leak a reference to the pixbufs.
|
||||||
|
|
||||||
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
|
||||||
|
leak a reference to the pixbufs.
|
||||||
|
|
||||||
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Sun Aug 8 23:46:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
|
||||||
|
leak a reference to the pixbufs.
|
||||||
|
|
||||||
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
Sun Aug 8 23:36:55 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
|
||||||
|
@ -926,7 +926,8 @@ shortcuts_reload_icons (GtkFileChooserDefault *impl)
|
|||||||
gtk_list_store_set (impl->shortcuts_model, &iter,
|
gtk_list_store_set (impl->shortcuts_model, &iter,
|
||||||
SHORTCUTS_COL_PIXBUF, pixbuf,
|
SHORTCUTS_COL_PIXBUF, pixbuf,
|
||||||
-1);
|
-1);
|
||||||
|
g_object_unref (pixbuf);
|
||||||
|
|
||||||
next_iter:
|
next_iter:
|
||||||
i++;
|
i++;
|
||||||
} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (impl->shortcuts_model),&iter));
|
} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (impl->shortcuts_model),&iter));
|
||||||
|
Loading…
Reference in New Issue
Block a user