summaryrefslogtreecommitdiff
path: root/legacy/emotion/src
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2007-10-05 05:12:38 +0000
committerCarsten Haitzler <raster@rasterman.com>2007-10-05 05:12:38 +0000
commitcf4992804500a355f0dba092362d1fcacc250407 (patch)
tree53679dea6cb764d2325a3c72ebe821c95828dd5f /legacy/emotion/src
parentbb28443e9a6f38edf643e611a79df29ade747f21 (diff)
cedric's ecore_job_init/shtudown patches.
SVN revision: 31972
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 93b7f4d98c..b081747bb3 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -193,12 +193,15 @@ emotion_object_init(Evas_Object *obj, const char *module_filename)
193 sd->seek_pos = 0; 193 sd->seek_pos = 0;
194 sd->len = 0; 194 sd->len = 0;
195 195
196 ecore_job_init();
197
196 if ((!sd->module) || (!sd->video)) 198 if ((!sd->module) || (!sd->video))
197 { 199 {
198 if (!_emotion_module_open(module_filename, obj, 200 if (!_emotion_module_open(module_filename, obj,
199 &sd->module, &sd->video)) 201 &sd->module, &sd->video))
200 return 0; 202 return 0;
201 } 203 }
204
202 return 1; 205 return 1;
203} 206}
204 207
@@ -1183,6 +1186,8 @@ _smart_del(Evas_Object * obj)
1183 if (sd->progress.info) free(sd->progress.info); 1186 if (sd->progress.info) free(sd->progress.info);
1184 if (sd->ref.file) free(sd->ref.file); 1187 if (sd->ref.file) free(sd->ref.file);
1185 free(sd); 1188 free(sd);
1189
1190 ecore_job_shutdown();
1186} 1191}
1187 1192
1188static void 1193static void