cookbook: Use clutter_timeline_set_repeat_count()

This commit is contained in:
Emmanuele Bassi
2012-02-13 14:58:47 +00:00
parent 97feb06a6f
commit 657e0ce093
5 changed files with 8 additions and 8 deletions

View File

@ -47,7 +47,7 @@ main (int argc,
/* set up the timeline */
timeline = clutter_timeline_new (1000);
clutter_timeline_set_loop (timeline, TRUE);
clutter_timeline_set_repeat_count (timeline, -1);
clutter_timeline_set_auto_reverse (timeline, TRUE);
clutter_actor_animate_with_timeline (rectangle, CLUTTER_LINEAR, timeline,