init eina before e prefix.

SVN revision: 60981
This commit is contained in:
Carsten Haitzler 2011-07-04 09:43:46 +00:00
parent 6c3695a900
commit 5374913f0c
1 changed files with 4 additions and 8 deletions

View File

@ -203,10 +203,10 @@ main(int argc, char **argv)
snprintf(buf, sizeof(buf), "%1.1f", tstart);
e_util_env_set("E_START_TIME", buf);
/* FIXME: this is the init code for letting e be relocatable. right now
* its not used - so i want to see if it can reliably determine its exe
* prefix
*/
TS("eina init");
eina_init();
_e_main_shutdown_push(eina_shutdown);
TS("determine prefix");
if (!e_prefix_determine(argv[0]))
{
@ -234,10 +234,6 @@ main(int argc, char **argv)
e_util_env_set("PANTS", "ON");
e_util_env_set("DESKTOP", "Enlightenment-0.17.0");
TS("eina init");
eina_init();
_e_main_shutdown_push(eina_shutdown);
TS("intl init");
e_intl_init();
_e_main_shutdown_push(e_intl_shutdown);