diff options
author | Kristian Rietveld <kris@gtk.org> | 2005-07-08 19:17:10 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2005-07-08 19:17:10 +0000 |
commit | 7f5b9100ed0036efc82d6edcaa5fef725baf7cee (patch) | |
tree | 31906a4668376b07bc28abc1e9f54c0ba18c03ef /gtk/gtkrbtree.h | |
parent | 92da84155fbdd53e568ff6b358011577e404ce55 (diff) | |
download | gtk+-7f5b9100ed0036efc82d6edcaa5fef725baf7cee.tar.gz |
Fixes #165034, reported by Jorn Baayen.
2005-07-08 Kristian Rietveld <kris@gtk.org>
Fixes #165034, reported by Jorn Baayen.
* gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a
mark_valid parameter (so we can mark all nodes as valid when we
are setting them to the fixed height).
* gtk/gtktreeview.c (initialized_fixed_height_mode): mark all
nodes as valid when setting the fixed height,
(do_validate_rows): update call to _set_fixed_height,
(gtk_tree_view_row_inserted): mark node as valid when fixed
height mode is enabled and a height has been set,
(gtk_tree_view_build_tree): if fixed height mode is enabled,
mark new nodes as valid in addition to setting the height.
Diffstat (limited to 'gtk/gtkrbtree.h')
-rw-r--r-- | gtk/gtkrbtree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkrbtree.h b/gtk/gtkrbtree.h index 6c108217ff..92345d2144 100644 --- a/gtk/gtkrbtree.h +++ b/gtk/gtkrbtree.h @@ -142,7 +142,8 @@ void _gtk_rbtree_node_mark_valid (GtkRBTree *tree, void _gtk_rbtree_column_invalid (GtkRBTree *tree); void _gtk_rbtree_mark_invalid (GtkRBTree *tree); void _gtk_rbtree_set_fixed_height (GtkRBTree *tree, - gint height); + gint height, + gboolean mark_valid); gint _gtk_rbtree_node_find_offset (GtkRBTree *tree, GtkRBNode *node); gint _gtk_rbtree_node_find_parity (GtkRBTree *tree, |