Commit 169ca5ad authored by Matthias Clasen's avatar Matthias Clasen

Fix a thinko in adjustment animation

The target value is only relevant if we're actually animating.
Don't look at it otherwise.

https://bugzilla.gnome.org/show_bug.cgi?id=736178
parent e2c54098
......@@ -530,7 +530,7 @@ gtk_adjustment_set_value_internal (GtkAdjustment *adjustment,
if (animate && priv->duration != 0 && priv->clock != NULL)
{
if (priv->target == value)
if (priv->tick_id && priv->target == value)
return;
priv->source = priv->value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment