Protect against tree_view being NULL. (#348652, Patrick K. O'Brian, Chris

2006-08-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
	Protect against tree_view being NULL.  (#348652, Patrick K. O'Brian,
	Chris Wilson)
This commit is contained in:
Matthias Clasen 2006-08-06 02:00:24 +00:00 committed by Matthias Clasen
parent dc62ec688e
commit fee7714e01
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-08-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
Protect against tree_view being NULL. (#348652, Patrick K. O'Brian,
Chris Wilson)
2006-08-03 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:

View File

@ -1,3 +1,9 @@
2006-08-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
Protect against tree_view being NULL. (#348652, Patrick K. O'Brian,
Chris Wilson)
2006-08-03 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c:

View File

@ -750,6 +750,7 @@ gtk_tree_view_column_cell_layout_reorder (GtkCellLayout *cell_layout,
column->cell_list = g_list_remove_link (column->cell_list, link);
column->cell_list = g_list_insert (column->cell_list, info, position);
if (column->tree_view)
gtk_widget_queue_draw (column->tree_view);
}