summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-06-03 15:44:40 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-06-03 17:00:12 -0700
commit5cc16b1c295045b5c4126f9fbe7db0dc8e1d05c4 (patch)
tree81197f172ead0f26801a6b98509ffd9112ef1c6d /src/tests
parentf6a260e7a9ff550483d0a081cf4ce90cc4e2bfc8 (diff)
ecore: remove Ecore_Animator Eo object.
This is only a legacy API.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/ecore/ecore_test_animator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/ecore/ecore_test_animator.c b/src/tests/ecore/ecore_test_animator.c
index c4487e79e7..c99e216de3 100644
--- a/src/tests/ecore/ecore_test_animator.c
+++ b/src/tests/ecore/ecore_test_animator.c
@@ -23,14 +23,14 @@ static Eina_Bool _anim_cb(void *data EINA_UNUSED, double pos)
23 23
24START_TEST(ecore_test_animators) 24START_TEST(ecore_test_animators)
25{ 25{
26 Eo *animator; 26 Ecore_Animator *animator;
27 double interval1 = 0.02; 27 double interval1 = 0.02;
28 double interval2 = 0.01; 28 double interval2 = 0.01;
29 29
30 fail_if(!ecore_init(), "ERROR: Cannot init Ecore!\n"); 30 fail_if(!ecore_init(), "ERROR: Cannot init Ecore!\n");
31 31
32 ecore_animator_frametime_set(interval1); 32 ecore_animator_frametime_set(interval1);
33 animator = eo_add(ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(eo_self, 1, _anim_cb, &interval1)); 33 animator = ecore_animator_timeline_add(1, _anim_cb, &interval1);
34 34
35 fail_if(!animator); 35 fail_if(!animator);
36 36
@@ -38,7 +38,7 @@ START_TEST(ecore_test_animators)
38 38
39 ecore_animator_frametime_set(interval2); 39 ecore_animator_frametime_set(interval2);
40 prev = 0; 40 prev = 0;
41 animator = eo_add(ECORE_ANIMATOR_CLASS, NULL, ecore_animator_timeline_constructor(eo_self, 1, _anim_cb, &interval2)); 41 animator = ecore_animator_timeline_add(1, _anim_cb, &interval2);
42 fail_if(!animator); 42 fail_if(!animator);
43 43
44 ecore_main_loop_begin(); 44 ecore_main_loop_begin();