state-machine: use clutter_timeline_get_progress

This commit is contained in:
Øyvind Kolås 2010-05-20 15:41:29 +01:00
parent 8761b279a7
commit 54bd541270

View File

@ -341,7 +341,7 @@ static void clutter_state_new_frame (ClutterTimeline *timeline,
if (state->priv->current_animator)
return;
progress = 1.0 * msecs / clutter_timeline_get_duration (timeline);
progress = clutter_timeline_get_progress (timeline);
for (k = state->priv->target_state->keys; k; k = k->next)
{