The public API should just accept any valid value; it's up to the
internal setter to check if we're getting the same value as the one
currently set.
ClutterScrollActorPrivate *priv = self->priv;
ClutterActor *actor = CLUTTER_ACTOR (self);
+ if (clutter_point_equals (&priv->scroll_to, point))
+ return;
+
if (point == NULL)
clutter_point_init (&priv->scroll_to, 0.f, 0.f);
else
priv = actor->priv;
- if (clutter_point_equals (&priv->scroll_to, point))
- return;
-
info = _clutter_actor_get_animation_info (CLUTTER_ACTOR (actor));
/* jump to the end if there is no easing state, or if the easing