Recalculate heights when a (new) separator func is set on GtkTreeView

This commit is contained in:
Kristian Rietveld 2009-09-04 16:56:05 +02:00
parent dcc87f7a67
commit 5ec80eb5ba

View File

@ -15010,6 +15010,10 @@ gtk_tree_view_set_row_separator_func (GtkTreeView *tree_view,
tree_view->priv->row_separator_func = func;
tree_view->priv->row_separator_data = data;
tree_view->priv->row_separator_destroy = destroy;
/* Have the tree recalculate heights */
_gtk_rbtree_mark_invalid (tree_view->priv->tree);
gtk_widget_queue_resize (GTK_WIDGET (tree_view));
}