diff --git a/ChangeLog b/ChangeLog index c7453468f..707d70872 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 8 23:46:20 2004 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't + leak a reference to the pixbufs. + Sun Aug 8 23:36:55 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c7453468f..707d70872 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Sun Aug 8 23:46:20 2004 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't + leak a reference to the pixbufs. + Sun Aug 8 23:36:55 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index c7453468f..707d70872 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Sun Aug 8 23:46:20 2004 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't + leak a reference to the pixbufs. + Sun Aug 8 23:36:55 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c7453468f..707d70872 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Sun Aug 8 23:46:20 2004 Matthias Clasen + + * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't + leak a reference to the pixbufs. + Sun Aug 8 23:36:55 2004 Matthias Clasen * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Ref diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index f17362f3f..7a9f20f96 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -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));