cedric's ecore_job_init/shtudown patches.
authorraster <raster>
Fri, 5 Oct 2007 05:12:38 +0000 (05:12 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 5 Oct 2007 05:12:38 +0000 (05:12 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/e17/libs/emotion@31972 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/emotion_smart.c

index 93b7f4d..b081747 100644 (file)
@@ -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