forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
e6429d9548
commit
f6ba8909d6
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -1,3 +1,8 @@
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user