+2009-09-22 Alejandro G. Castro <alex@igalia.com>
+
+ * hildon/hildon-pannable-area.c,
+ (hildon_pannable_axis_scroll),
+ (hildon_pannable_area_scroll): Unset the scroll_to in some
+ situations, it was causing the timeout did not stop in some cases.
+
+ Fixes: NB#140186 (HildonPannableArea goes into an infinite loop)
+
2009-07-02 David King <davidk@openismus.com>
* hildon/hildon-animation-actor-private.h
gtk_widget_queue_resize (GTK_WIDGET (area));
} else {
*vel = 0.0;
+ *scroll_to = -1;
}
} else if (dist > adjust->upper - adjust->page_size) {
if (s) *s = FALSE;
gtk_widget_queue_resize (GTK_WIDGET (area));
} else {
*vel = 0.0;
+ *scroll_to = -1;
}
} else {
if ((*scroll_to) != -1) {
&priv->overshooting_y, &priv->overshot_dist_y,
&priv->scroll_to_y, priv->vovershoot_max, &sy);
} else {
- priv->vel_y = 0;
+ priv->vel_y = 0.0;
+ priv->scroll_to_y = -1;
}
if (hscroll_visible) {
&priv->overshooting_x, &priv->overshot_dist_x,
&priv->scroll_to_x, priv->hovershoot_max, &sx);
} else {
- priv->vel_x = 0;
+ priv->vel_x = 0.0;
+ priv->scroll_to_x = -1;
}
if (hv != priv->hadjust->value)