projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8761b27
)
state-machine: use clutter_timeline_get_progress
author
Øyvind Kolås
<pippin@linux.intel.com>
Thu, 20 May 2010 14:41:29 +0000
(15:41 +0100)
committer
Øyvind Kolås
<pippin@linux.intel.com>
Thu, 20 May 2010 15:24:29 +0000
(16:24 +0100)
clutter/clutter-state.c
patch
|
blob
|
history
diff --git
a/clutter/clutter-state.c
b/clutter/clutter-state.c
index
520c0b5
..
426db03
100644
(file)
--- 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)
{