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

Don't crash if the displayed row is gone.

2004-08-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
	crash if the displayed row is gone.
parent e6429d95
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
......
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
......
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
......
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
......
......@@ -543,6 +543,9 @@ gtk_cell_view_set_cell_data (GtkCellView *cellview)
g_return_if_fail (cellview->priv->displayed_row != NULL);
path = gtk_tree_row_reference_get_path (cellview->priv->displayed_row);
if (!path)
return;
gtk_tree_model_get_iter (cellview->priv->model, &iter, path);
gtk_tree_path_free (path);
......
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