aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-11 07:51:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-11 07:51:44 +0800
commit83b264bc20f7b6ef2068e31b1d53ac2c51f32cd5 (patch)
tree63146ed8d16459adfd0b2fced6a2c02de728cec2 /mail
parentf1c03de09dfda7052753b86a78bc22f87ca039a1 (diff)
downloadgsoc2013-evolution-83b264bc20f7b6ef2068e31b1d53ac2c51f32cd5.tar.gz
gsoc2013-evolution-83b264bc20f7b6ef2068e31b1d53ac2c51f32cd5.tar.zst
gsoc2013-evolution-83b264bc20f7b6ef2068e31b1d53ac2c51f32cd5.zip
Typo in tree_autoscroll().
Diffstat (limited to 'mail')
-rw-r--r--mail/em-folder-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index d7bbcb7061..54640889e2 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2106,7 +2106,7 @@ tree_autoscroll (EMFolderTree *folder_tree)
adjustment = gtk_tree_view_get_vadjustment (tree_view);
page_size = gtk_adjustment_get_value (adjustment);
- upper = gtk_adjustment_get_value (adjustment);
+ upper = gtk_adjustment_get_upper (adjustment);
value = gtk_adjustment_get_value (adjustment);
value = CLAMP (value + offset, 0.0, upper - page_size);