git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/efreet@54781
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
if (!eina_init())
return --_efreet_init_count;
- if (!eet_init())
+ if (!ecore_init())
goto shutdown_eina;
+ if (!eet_init())
+ goto shutdown_ecore;
_efreet_log_domain_global = eina_log_domain_register("efreet", EFREET_DEFAULT_LOG_COLOR);
if (_efreet_log_domain_global < 0)
{
eina_log_domain_unregister(_efreet_log_domain_global);
shutdown_eet:
eet_shutdown();
+shutdown_ecore:
+ ecore_shutdown();
shutdown_eina:
eina_shutdown();
const char *default_exts[] = {".png", ".xpm", NULL};
int i;
- if (!ecore_init())
- return 0;
-
_efreet_icon_log_dom = eina_log_domain_register
("efreet_icon", EFREET_DEFAULT_LOG_COLOR);
if (_efreet_icon_log_dom < 0)
- {
- ecore_shutdown();
return 0;
- }
/* setup the default extension list */
for (i = 0; default_exts[i]; i++)