summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 1a6bed5981..5c6bf83129 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3232,13 +3232,19 @@ EO_CALLBACKS_ARRAY_DEFINE(animator_watch,
3232 { EO_EVENT_CALLBACK_DEL, _check_animator_event_catcher_del }); 3232 { EO_EVENT_CALLBACK_DEL, _check_animator_event_catcher_del });
3233 3233
3234EAPI void 3234EAPI void
3235_ecore_evas_register_animators(Ecore_Evas *ee)
3236{
3237 eo_event_callback_array_add(ee->evas, animator_watch(), ee);
3238}
3239
3240EAPI void
3235_ecore_evas_register(Ecore_Evas *ee) 3241_ecore_evas_register(Ecore_Evas *ee)
3236{ 3242{
3237 ee->registered = 1; 3243 ee->registered = 1;
3238 ecore_evases = (Ecore_Evas *)eina_inlist_prepend 3244 ecore_evases = (Ecore_Evas *)eina_inlist_prepend
3239 (EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee)); 3245 (EINA_INLIST_GET(ecore_evases), EINA_INLIST_GET(ee));
3240 3246
3241 eo_event_callback_array_add(ee->evas, animator_watch(), ee); 3247 _ecore_evas_register_animators(ee);
3242 3248
3243 if (_ecore_evas_render_sync) ecore_evas_first = EINA_TRUE; 3249 if (_ecore_evas_render_sync) ecore_evas_first = EINA_TRUE;
3244} 3250}