diff options
author | Kristian Rietveld <kris@gtk.org> | 2002-03-20 22:06:05 +0000 |
---|---|---|
committer | Kristian Rietveld <kristian@src.gnome.org> | 2002-03-20 22:06:05 +0000 |
commit | 92febe2720cd229749e64e99ea31906bade84a44 (patch) | |
tree | 3aae7af7600e2217ec47b0909ee5b42fc250901f /gtk/gtkmain.c | |
parent | 8acfd1e9de927adf2bea546bda55740a2b0cc436 (diff) | |
download | gtk+-92febe2720cd229749e64e99ea31906bade84a44.tar.gz |
add _gtk_rbtree_set_fixed_height()
Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
* gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
* gtk/gtktreeprivate.h: add fixed_height_check field
* gtk/gtktreeview.c (gtk_tree_view_init): initialize
scroll_sync_timer and fixed_height_check
(do_validate_rows): add fixed_height_check. If all validated rows
in the first cycle have the same height, then we set that height for
the entire tree. This is some sort of 'fake' optimization, but helps
a lot for the common case. We keep validating the entire tree in
the background though.
(gtk_tree_view_set_model): reset fixed_height_check
Diffstat (limited to 'gtk/gtkmain.c')
0 files changed, 0 insertions, 0 deletions