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

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.
parent 0c42eed2
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>
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
......
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>
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
......
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>
* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref
......
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>
* 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,
SHORTCUTS_COL_PIXBUF, pixbuf,
-1);
g_object_unref (pixbuf);
next_iter:
i++;
} while (gtk_tree_model_iter_next (GTK_TREE_MODEL (impl->shortcuts_model),&iter));
......
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