evas: reduce numbers of call to eet_init/eet_shutdown.

This commit is contained in:
Cedric Bail 2013-11-21 10:47:27 +09:00
parent 3c9059e3e4
commit 63c01cbb2a
2 changed files with 8 additions and 6 deletions

View File

@ -51,6 +51,10 @@ evas_init(void)
eo_init();
#ifdef BUILD_LOADER_EET
eet_init();
#endif
evas_module_init();
if (!evas_async_events_init())
goto shutdown_module;
@ -124,6 +128,10 @@ evas_shutdown(void)
evas_font_dir_cache_free();
evas_common_shutdown();
evas_module_shutdown();
#ifdef BUILD_LOADER_EET
eet_shutdown();
#endif
eo_shutdown();
eina_log_domain_unregister(_evas_log_dom_global);

View File

@ -194,9 +194,6 @@ evas_common_image_init(void)
reference++;
//// ERR("REF++=%i", reference);
#ifdef BUILD_LOADER_EET
eet_init();
#endif
evas_common_scalecache_init();
}
@ -229,9 +226,6 @@ evas_common_image_shutdown(void)
#endif
}
#ifdef BUILD_LOADER_EET
eet_shutdown();
#endif
evas_common_scalecache_shutdown();
}