aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ecore/ecore_anim.c
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-11-01 21:57:43 -0200
commitfa88a2337f4c1ed74dbe5f8e9b8ab9e80aa94215 (patch)
tree289d1f0e30abe7aeb9100ab9ed3e3a755d1c18b7 /src/lib/ecore/ecore_anim.c
parentEo do: use the __thread directive when available to manage call stack. (diff)
downloadefl-devs/felipealmeida/eo_optimisations.tar.gz
Eo: Partial implementation to remove eo_dodevs/felipealmeida/eo_optimisations
Diffstat (limited to 'src/lib/ecore/ecore_anim.c')
-rw-r--r--src/lib/ecore/ecore_anim.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 23300906e0..2120a554ac 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -319,7 +319,7 @@ _do_tick(void)
eina_inlist_remove(EINA_INLIST_GET(animators),
EINA_INLIST_GET(animator));
- eo_do(animator->obj, eo_parent_set(NULL));
+ eo_do(animator->obj, eo_parent_set(animator->obj, NULL));
if (eo_destructed_is(animator->obj))
eo_manual_free(animator->obj);
else
@@ -372,8 +372,8 @@ ecore_animator_add(Ecore_Task_Cb func,
{
Ecore_Animator *animator = NULL;
- animator = eo_add(MY_CLASS, _ecore_parent,
- ecore_animator_constructor(func, data));
+ eo_add(animator, MY_CLASS, _ecore_parent,
+ ecore_animator_constructor(NULL, func, data));
return animator;
}
@@ -391,8 +391,8 @@ ecore_animator_timeline_add(double runtime,
const void *data)
{
Ecore_Animator *animator;
- animator = eo_add(MY_CLASS, _ecore_parent,
- ecore_animator_timeline_constructor(runtime, func, data));
+ eo_add(animator, MY_CLASS, _ecore_parent,
+ ecore_animator_timeline_constructor(NULL, runtime, func, data));
return animator;
}
@@ -690,7 +690,7 @@ _ecore_animator_eo_base_destructor(Eo *obj, Ecore_Animator_Data *pd)
pd->delete_me = EINA_TRUE;
animators_delete_me++;
- eo_do_super(obj, MY_CLASS, eo_destructor());
+ eo_super_eo_destructor(MY_CLASS, obj);
}
EOLIAN static Eo *
@@ -701,7 +701,7 @@ _ecore_animator_eo_base_finalize(Eo *obj, Ecore_Animator_Data *pd)
return NULL;
}
- return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize());
+ return eo_super_eo_finalize(MY_CLASS, obj);
}
EAPI void
@@ -729,7 +729,7 @@ EAPI void
ecore_animator_freeze(Ecore_Animator *animator)
{
ECORE_ANIMATOR_CHECK(animator);
- eo_do(animator, eo_event_freeze());
+ eo_do(animator, eo_event_freeze(animator));
}
EOLIAN static void
@@ -752,7 +752,7 @@ EAPI void
ecore_animator_thaw(Ecore_Animator *animator)
{
ECORE_ANIMATOR_CHECK(animator);
- eo_do(animator, eo_event_thaw());
+ eo_do(animator, eo_event_thaw(animator));
}
EOLIAN static void
@@ -838,7 +838,7 @@ _ecore_animator_shutdown(void)
if (animator->suspended) animators_suspended--;
animators = (Ecore_Animator_Data *)eina_inlist_remove(EINA_INLIST_GET(animators), EINA_INLIST_GET(animators));
- eo_do(animator->obj, eo_parent_set(NULL));
+ eo_do(animator->obj, eo_parent_set(animator->obj, NULL));
if (eo_destructed_is(animator->obj))
eo_manual_free(animator->obj);
else