[elm_main] rollback merge svn #52271; Environment variables do not work with quicklaunch
authorSeokjae Jeong <seok.j.jeong@samsung.com>
Wed, 29 Sep 2010 15:45:35 +0000 (00:45 +0900)
committerSeokjae Jeong <seok.j.jeong@samsung.com>
Wed, 29 Sep 2010 15:45:35 +0000 (00:45 +0900)
src/lib/elm_main.c

index 13b62f8..dfb2a7a 100644 (file)
@@ -495,6 +495,11 @@ elm_quicklaunch_init(int argc, char **argv)
      ELM_EVENT_POLICY_CHANGED = ecore_event_type_new();
 
    ecore_file_init();
+   evas_init();
+   edje_init();
+   ecore_evas_init(); // FIXME: check errors
+   ecore_imf_init();
+   _elm_module_init();
 
    _elm_exit_handler = ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, _elm_signal_exit, NULL);
 
@@ -577,11 +582,6 @@ EAPI void
 elm_quicklaunch_sub_init(int argc, char **argv)
 {
    ecore_app_args_set(argc, (const char **)argv);
-   evas_init();
-   edje_init();
-   ecore_evas_init(); // FIXME: check errors
-   ecore_imf_init();
-   _elm_module_init();
    _elm_config_sub_init();
 }
 
@@ -604,11 +604,6 @@ elm_quicklaunch_sub_shutdown(void)
 #endif
    evas_cserve_disconnect();
      }
-   _elm_module_shutdown();
-   ecore_imf_shutdown();
-   ecore_evas_shutdown();
-   edje_shutdown();
-   evas_shutdown();
 }
 
 EAPI void
@@ -631,6 +626,11 @@ elm_quicklaunch_shutdown(void)
    _elm_unneed_efreet();
    _elm_unneed_e_dbus();
    _elm_unneed_ethumb();
+   _elm_module_shutdown();
+   ecore_imf_shutdown();
+   ecore_evas_shutdown();
+   edje_shutdown();
+   evas_shutdown();
    ecore_file_shutdown();
    ecore_shutdown();
    eet_shutdown();