summaryrefslogtreecommitdiff
path: root/gtk/gtktreeprivate.h
diff options
context:
space:
mode:
authorKristian Rietveld <kris@imendio.com>2008-01-10 09:24:11 +0000
committerKristian Rietveld <kristian@src.gnome.org>2008-01-10 09:24:11 +0000
commit244380529abd9222a44164b162cda3b4181f9cb6 (patch)
treea86597c240c10c6ccef5a198f9d6da3961806ee9 /gtk/gtktreeprivate.h
parent9c7a2c321fd5c7cea0564442cbc96812b47dd759 (diff)
downloadgtk+-244380529abd9222a44164b162cda3b4181f9cb6.tar.gz
Fix #477175, reported by Juri Pakaste.
2008-01-10 Kristian Rietveld <kris@imendio.com> Fix #477175, reported by Juri Pakaste. * gtk/gtktreeprivate.h: * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set tree_view->priv->dy here directly, just calculate the new value and set it on the adjustment, (gtk_tree_view_adjustment_changed): add guards to not call gtk_tree_view_dy_to_top_row() if we are currently in gtk_tree_view_top_row_to_dy(), (gtk_tree_view_put): fix coordinate annotation: these are bin_window coordinates, not tree coordinates, (gtk_tree_view_real_start_editing): add cast. * gtk/tests/treeview-scrolling.c: add an assertion for checking the position of the editable in the "create new row and start editing" tests. svn path=/trunk/; revision=19331
Diffstat (limited to 'gtk/gtktreeprivate.h')
-rw-r--r--gtk/gtktreeprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtktreeprivate.h b/gtk/gtktreeprivate.h
index 9d49f394df..3d643f9e38 100644
--- a/gtk/gtktreeprivate.h
+++ b/gtk/gtktreeprivate.h
@@ -221,6 +221,8 @@ struct _GtkTreeViewPrivate
guint init_hadjust_value : 1;
+ guint in_top_row_to_dy : 1;
+
/* interactive search */
guint enable_search : 1;
guint disable_popdown : 1;