forked from enlightenment/efl
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:
parent
a09efda8d2
commit
65fcf390b4
|
@ -148,6 +148,7 @@ static int
|
|||
module_open(Evas_Module *em)
|
||||
{
|
||||
if (!em) return 0;
|
||||
eet_init();
|
||||
em->functions = (void *)(&evas_image_load_eet_func);
|
||||
return 1;
|
||||
}
|
||||
|
@ -155,6 +156,7 @@ module_open(Evas_Module *em)
|
|||
static void
|
||||
module_close(Evas_Module *em EINA_UNUSED)
|
||||
{
|
||||
eet_shutdown();
|
||||
}
|
||||
|
||||
static Evas_Module_Api evas_modapi =
|
||||
|
|
Loading…
Reference in New Issue