summaryrefslogtreecommitdiff
path: root/src/lib/ecore/ecore_job.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/ecore_job.c')
-rw-r--r--src/lib/ecore/ecore_job.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/ecore/ecore_job.c b/src/lib/ecore/ecore_job.c
index ed988ab..1f459c7 100644
--- a/src/lib/ecore/ecore_job.c
+++ b/src/lib/ecore/ecore_job.c
@@ -49,7 +49,7 @@ EAPI Ecore_Job *
49ecore_job_add(Ecore_Cb func, 49ecore_job_add(Ecore_Cb func,
50 const void *data) 50 const void *data)
51{ 51{
52 Ecore_Job *job = eo_add(MY_CLASS, _ecore_parent, ecore_job_constructor(func, data)); 52 Ecore_Job *job = eo_add(MY_CLASS, _ecore_parent, ecore_job_constructor(eoid, func, data));
53 return job; 53 return job;
54} 54}
55 55
@@ -88,7 +88,7 @@ ecore_job_del(Ecore_Job *obj)
88 Ecore_Job_Data *job = eo_data_scope_get(obj, MY_CLASS); 88 Ecore_Job_Data *job = eo_data_scope_get(obj, MY_CLASS);
89 data = job->data; 89 data = job->data;
90 ecore_event_del(job->event); 90 ecore_event_del(job->event);
91 eo_do(obj, eo_parent_set(NULL)); 91 eo_parent_set(obj, NULL);
92 return data; 92 return data;
93} 93}
94 94
@@ -96,7 +96,7 @@ EOLIAN static void
96_ecore_job_eo_base_destructor(Eo *obj, Ecore_Job_Data *_pd EINA_UNUSED) 96_ecore_job_eo_base_destructor(Eo *obj, Ecore_Job_Data *_pd EINA_UNUSED)
97{ 97{
98 /*FIXME: check if ecore_event_del should be called from here*/ 98 /*FIXME: check if ecore_event_del should be called from here*/
99 eo_do_super(obj, MY_CLASS, eo_destructor()); 99 eo_destructor(eo_super(obj, MY_CLASS));
100} 100}
101 101
102EOLIAN static Eo * 102EOLIAN static Eo *
@@ -107,7 +107,7 @@ _ecore_job_eo_base_finalize(Eo *obj, Ecore_Job_Data *pd)
107 return NULL; 107 return NULL;
108 } 108 }
109 109
110 return eo_do_super_ret(obj, MY_CLASS, obj, eo_finalize()); 110 return eo_finalize(eo_super(obj, MY_CLASS));
111} 111}
112 112
113static Eina_Bool 113static Eina_Bool
@@ -126,7 +126,7 @@ static void
126_ecore_job_event_free(void *data, 126_ecore_job_event_free(void *data,
127 void *job EINA_UNUSED) 127 void *job EINA_UNUSED)
128{ 128{
129 eo_do(data, eo_parent_set(NULL)); 129 eo_parent_set(data, NULL);
130 130
131 Ecore_Job *obj = data; 131 Ecore_Job *obj = data;
132 132