From: Pierre-Luc Beaudoin Date: Wed, 4 Feb 2009 21:16:32 +0000 (+0200) Subject: Fix a strange bug where the elastic effect is wrong X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=341bec344a291976809ed2e89cdb600fcb4cca0f;p=libchamplain Fix a strange bug where the elastic effect is wrong This bug was only visible from Empathy. --- 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) {