eina statgen - move to using api not env var as we need new efl anyway
This commit is contained in:
parent
6373d5583b
commit
96d920b707
|
@ -306,14 +306,12 @@ main(int argc, char **argv)
|
|||
if (getenv("E_START_MTRACK"))
|
||||
e_util_env_set("MTRACK", NULL);
|
||||
TS("Eina Init");
|
||||
s = getenv("EINA_STATGEN");
|
||||
if (!s) e_util_env_set("EINA_STATGEN", "1");
|
||||
if (!eina_init())
|
||||
{
|
||||
e_error_message_show(_("Enlightenment cannot initialize Eina!\n"));
|
||||
_e_main_shutdown(-1);
|
||||
}
|
||||
if (!s) e_util_env_set("EINA_STATGEN", NULL);
|
||||
eina_file_statgen_enable();
|
||||
|
||||
_e_main_shutdown_push(eina_shutdown);
|
||||
|
||||
|
|
Loading…
Reference in New Issue