summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehwan Kim <jae.hwan.kim@samsung.com>2014-11-14 11:39:42 +0900
committerJaehwan Kim <jae.hwan.kim@samsung.com>2014-11-14 11:41:56 +0900
commita50aa2c9388540a00bbb75bab6763e0d07cbad9e (patch)
treef399a92f7cb8ee35d8f43e00bdaa35cbce66f99d
parentf3a53acbf0f28471394de68de9161c5edb459079 (diff)
downloadefl-a50aa2c9388540a00bbb75bab6763e0d07cbad9e.tar.gz
ecore_anim: fix source_set bug.
The source and the function should be set after _end_tick is called. @fix
-rw-r--r--src/lib/ecore/ecore_anim.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 6dee5ad0b4..e248f05901 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -587,8 +587,8 @@ ecore_animator_source_set(Ecore_Animator_Source source)
{
EINA_MAIN_LOOP_CHECK_RETURN;
_ecore_lock();
- src = source;
_end_tick();
+ src = source;
if (_have_animators()) _begin_tick();
_ecore_unlock();
}
@@ -606,9 +606,9 @@ ecore_animator_custom_source_tick_begin_callback_set(Ecore_Cb func,
{
EINA_MAIN_LOOP_CHECK_RETURN;
_ecore_lock();
+ _end_tick();
begin_tick_cb = func;
begin_tick_data = data;
- _end_tick();
if (_have_animators()) _begin_tick();
_ecore_unlock();
}
@@ -619,9 +619,9 @@ ecore_animator_custom_source_tick_end_callback_set(Ecore_Cb func,
{
EINA_MAIN_LOOP_CHECK_RETURN;
_ecore_lock();
+ _end_tick();
end_tick_cb = func;
end_tick_data = data;
- _end_tick();
if (_have_animators()) _begin_tick();
_ecore_unlock();
}