From 341bec344a291976809ed2e89cdb600fcb4cca0f Mon Sep 17 00:00:00 2001 From: Pierre-Luc Beaudoin Date: Wed, 4 Feb 2009 23:16:32 +0200 Subject: [PATCH] Fix a strange bug where the elastic effect is wrong This bug was only visible from Empathy. --- champlain/champlain-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c index 1895b25..474d7a2 100644 --- a/champlain/champlain-view.c +++ b/champlain/champlain-view.c @@ -388,7 +388,7 @@ resize_viewport (ChamplainView *view) upper = G_MAXINT16; } g_object_set (hadjust, "lower", lower, "upper", upper, - "step-increment", 1.0, "elastic", TRUE, NULL); + "page-size", 1.0, "step-increment", 1.0, "elastic", TRUE, NULL); if (priv->map->current_level->level < 8) { @@ -402,7 +402,7 @@ resize_viewport (ChamplainView *view) upper = G_MAXINT16; } g_object_set (vadjust, "lower", lower, "upper", upper, - "step-increment", 1.0, "elastic", TRUE, NULL); + "page-size", 1.0, "step-increment", 1.0, "elastic", TRUE, NULL); if (center) { -- 2.39.5