aboutsummaryrefslogtreecommitdiff
path: root/hildon/hildon-pannable-area.c
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2012-06-07 16:03:40 -0500
committerDavid Barksdale <amatus.amongus@gmail.com>2012-06-07 16:03:40 -0500
commit02b5e3bf59db5c0d66276b375964f5a3f04b039d (patch)
tree83c9f3a70eb0411609dead37b904adcbf0d77d26 /hildon/hildon-pannable-area.c
parentcfcc03069b4082441b39bf12af388466e5f0477a (diff)
Fixed a copy-paste error.
Diffstat (limited to 'hildon/hildon-pannable-area.c')
-rw-r--r--hildon/hildon-pannable-area.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hildon/hildon-pannable-area.c b/hildon/hildon-pannable-area.c
index 2b8943d..c6d7038 100644
--- a/hildon/hildon-pannable-area.c
+++ b/hildon/hildon-pannable-area.c
@@ -2502,7 +2502,7 @@ hildon_pannable_area_handle_move (HildonPannableArea *area,
(priv->vmax - priv->vmin)) + priv->vmin);
priv->vel_y = ((*y > 0) ? 1 : -1) *
(((ABS (*y) /
- (gdouble) gtk_widget_get_allocated_width (GTK_WIDGET (area))) *
+ (gdouble) gtk_widget_get_allocated_height (GTK_WIDGET (area))) *
(priv->vmax - priv->vmin)) + priv->vmin);
break;
case HILDON_PANNABLE_AREA_MODE_AUTO: