summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_idle_exiter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/ecore_idle_exiter.c')
-rw-r--r--src/lib/ecore/ecore_idle_exiter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore/ecore_idle_exiter.c b/src/lib/ecore/ecore_idle_exiter.c
index d4e6962..5074b13 100644
--- a/src/lib/ecore/ecore_idle_exiter.c
+++ b/src/lib/ecore/ecore_idle_exiter.c
@@ -37,7 +37,7 @@ ecore_idle_exiter_add(Ecore_Task_Cb func,
37 const void *data) 37 const void *data)
38{ 38{
39 Ecore_Idle_Exiter *ie = NULL; 39 Ecore_Idle_Exiter *ie = NULL;
40 ie = eo_add(MY_CLASS, _ecore_parent, ecore_idle_exiter_constructor(func, data)); 40 ie = eo_add(MY_CLASS, _ecore_parent, ecore_idle_exiter_constructor(eoid, func, data));
41 return ie; 41 return ie;
42} 42}
43 43
@@ -88,7 +88,7 @@ _ecore_idle_exiter_eo_base_finalize(Eo *obj, Ecore_Idle_Exiter_Data *idle_exiter
88 return NULL; 88 return NULL;
89 } 89 }
90 90
91 return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize()); 91 return eo_finalize(eo_super(obj, MY_CLASS));
92} 92}
93 93
94EOLIAN static void 94EOLIAN static void
@@ -98,7 +98,7 @@ _ecore_idle_exiter_eo_base_destructor(Eo *obj, Ecore_Idle_Exiter_Data *idle_exit
98 idle_exiter->delete_me = 1; 98 idle_exiter->delete_me = 1;
99 idle_exiters_delete_me = 1; 99 idle_exiters_delete_me = 1;
100 100
101 eo_do_super(obj, MY_CLASS, eo_destructor()); 101 eo_destructor(eo_super(obj, MY_CLASS));
102} 102}
103 103
104void 104void
@@ -109,7 +109,7 @@ _ecore_idle_exiter_shutdown(void)
109 { 109 {
110 idle_exiters = (Ecore_Idle_Exiter_Data *)eina_inlist_remove(EINA_INLIST_GET(idle_exiters), EINA_INLIST_GET(idle_exiters)); 110 idle_exiters = (Ecore_Idle_Exiter_Data *)eina_inlist_remove(EINA_INLIST_GET(idle_exiters), EINA_INLIST_GET(idle_exiters));
111 111
112 eo_do(ie->obj, eo_parent_set(NULL)); 112 eo_parent_set(ie->obj, NULL);
113 if (eo_destructed_is(ie->obj)) 113 if (eo_destructed_is(ie->obj))
114 eo_manual_free(ie->obj); 114 eo_manual_free(ie->obj);
115 else 115 else
@@ -172,7 +172,7 @@ _ecore_idle_exiter_call(void)
172 172
173 idle_exiters = (Ecore_Idle_Exiter_Data *)eina_inlist_remove(EINA_INLIST_GET(idle_exiters), EINA_INLIST_GET(ie)); 173 idle_exiters = (Ecore_Idle_Exiter_Data *)eina_inlist_remove(EINA_INLIST_GET(idle_exiters), EINA_INLIST_GET(ie));
174 174
175 eo_do(ie->obj, eo_parent_set(NULL)); 175 eo_parent_set(ie->obj, NULL);
176 if (eo_destructed_is(ie->obj)) 176 if (eo_destructed_is(ie->obj))
177 eo_manual_free(ie->obj); 177 eo_manual_free(ie->obj);
178 else 178 else