From ef1ed2d3060b9e52deacc61e3e2c9f66f45e7b0e Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 5 Oct 2007 05:12:38 +0000 Subject: [PATCH] cedric's ecore_job_init/shtudown patches. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@31972 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/emotion_smart.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/emotion_smart.c b/src/lib/emotion_smart.c index 93b7f4d..b081747 100644 --- a/src/lib/emotion_smart.c +++ b/src/lib/emotion_smart.c @@ -193,12 +193,15 @@ emotion_object_init(Evas_Object *obj, const char *module_filename) sd->seek_pos = 0; sd->len = 0; + ecore_job_init(); + if ((!sd->module) || (!sd->video)) { if (!_emotion_module_open(module_filename, obj, &sd->module, &sd->video)) return 0; } + return 1; } @@ -1183,6 +1186,8 @@ _smart_del(Evas_Object * obj) if (sd->progress.info) free(sd->progress.info); if (sd->ref.file) free(sd->ref.file); free(sd); + + ecore_job_shutdown(); } static void -- 2.7.4