Free the data of the row before overwriting it. (#307490, Kjartan Maraas)

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_update_current_folder):
	Free the data of the row before overwriting it.  (#307490,
	Kjartan Maraas)
This commit is contained in:
Matthias Clasen 2005-06-13 13:50:49 +00:00 committed by Matthias Clasen
parent 58b9aed17a
commit ae1e9866d0
4 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-06-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (model_update_current_folder):
Free the data of the row before overwriting it. (#307490,
Kjartan Maraas)
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't

View File

@ -1,3 +1,9 @@
2005-06-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (model_update_current_folder):
Free the data of the row before overwriting it. (#307490,
Kjartan Maraas)
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't

View File

@ -1,3 +1,9 @@
2005-06-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (model_update_current_folder):
Free the data of the row before overwriting it. (#307490,
Kjartan Maraas)
2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't

View File

@ -1477,7 +1477,10 @@ model_update_current_folder (GtkFileChooserButton *button,
button->priv->has_current_folder = TRUE;
}
else
gtk_tree_model_iter_nth_child (button->priv->model, &iter, NULL, pos);
{
gtk_tree_model_iter_nth_child (button->priv->model, &iter, NULL, pos);
model_free_row_data (button, &iter);
}
pixbuf = gtk_file_system_render_icon (button->priv->fs, path,
GTK_WIDGET (button),