From 54bd5412706733e9af576ed3998d87cb138846e7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Thu, 20 May 2010 15:41:29 +0100 Subject: [PATCH] state-machine: use clutter_timeline_get_progress --- clutter/clutter-state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-state.c b/clutter/clutter-state.c index 520c0b5..426db03 100644 --- a/clutter/clutter-state.c +++ b/clutter/clutter-state.c @@ -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) { -- 2.7.4