Remove second call to gtk_tree_view_column_cell_set_cell_data, since we

2006-01-22  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
	to gtk_tree_view_column_cell_set_cell_data, since we also set the
	cell data before iterating over the columns for exposure. (Fixes
	#322471, Duncan Coutts).
This commit is contained in:
Kristian Rietveld
2006-01-22 15:50:31 +00:00
committed by Kristian Rietveld
parent f2b9b33df6
commit d1337e1012
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2006-01-22 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
to gtk_tree_view_column_cell_set_cell_data, since we also set the
cell data before iterating over the columns for exposure. (Fixes
#322471, Duncan Coutts).
2006-01-21 Matthias Clasen <mclasen@redhat.com>
* tests/testassistant.c: Add some tests for GtkAssistant

View File

@ -1,3 +1,10 @@
2006-01-22 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Remove second call
to gtk_tree_view_column_cell_set_cell_data, since we also set the
cell data before iterating over the columns for exposure. (Fixes
#322471, Duncan Coutts).
2006-01-21 Matthias Clasen <mclasen@redhat.com>
* tests/testassistant.c: Add some tests for GtkAssistant

View File

@ -3693,12 +3693,6 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
continue;
}
gtk_tree_view_column_cell_set_cell_data (column,
tree_view->priv->model,
&iter,
GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_PARENT),
node->children?TRUE:FALSE);
/* Select the detail for drawing the cell. relevant
* factors are parity, sortedness, and whether to
* display rules.