evas/loaders: init/shutdown EET from loader module.

cserve2 slave requires Eet to be initialized before use :)

Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
This commit is contained in:
Jean-Philippe Andre 2013-06-28 17:02:07 +09:00 committed by Cedric Bail
parent a09efda8d2
commit 65fcf390b4
1 changed files with 2 additions and 0 deletions

View File

@ -148,6 +148,7 @@ static int
module_open(Evas_Module *em) module_open(Evas_Module *em)
{ {
if (!em) return 0; if (!em) return 0;
eet_init();
em->functions = (void *)(&evas_image_load_eet_func); em->functions = (void *)(&evas_image_load_eet_func);
return 1; return 1;
} }
@ -155,6 +156,7 @@ module_open(Evas_Module *em)
static void static void
module_close(Evas_Module *em EINA_UNUSED) module_close(Evas_Module *em EINA_UNUSED)
{ {
eet_shutdown();
} }
static Evas_Module_Api evas_modapi = static Evas_Module_Api evas_modapi =