aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/ecore/ecore_test_animator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/ecore/ecore_test_animator.c')
-rw-r--r--src/tests/ecore/ecore_test_animator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/ecore/ecore_test_animator.c b/src/tests/ecore/ecore_test_animator.c
index ed7f4ee886..8e0b8e65ea 100644
--- a/src/tests/ecore/ecore_test_animator.c
+++ b/src/tests/ecore/ecore_test_animator.c
@@ -29,7 +29,7 @@ START_TEST(ecore_test_animators)
fail_if(!ecore_init(), "ERROR: Cannot init Ecore!\n");
ecore_animator_frametime_set(interval1);
- animator = eo_add(ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(1, _anim_cb, &interval1));
+ eo_add(animator, ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(animator, 1, _anim_cb, &interval1));
fail_if(!animator);
@@ -37,7 +37,7 @@ START_TEST(ecore_test_animators)
ecore_animator_frametime_set(interval2);
prev = 0;
- animator = eo_add(ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(1, _anim_cb, &interval2));
+ eo_add(animator, ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(animator, 1, _anim_cb, &interval2));
fail_if(!animator);
ecore_main_loop_begin();