devilhorns pushed a commit to branch master.

commit 9e9651aad5d473ce87ec8804ff25829dc870b0d4
Author: Chris Michael <[email protected]>
Date:   Fri Jul 26 12:05:52 2013 +0100

    Setup XDG_RUNTIME_DIR before doing ecore_imf init.
    
    NB: Ecore_IMF (when it uses the wayland module) needs to have
    xdg_runtime_dir set. This change ensures that env variable is set
    before we init ecore_imf.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index e1f8cdd..9ca9b83 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -387,6 +387,8 @@ main(int argc, char **argv)
 
    ecore_x_io_error_handler_set(_e_main_cb_x_fatal, NULL);
 
+   _xdg_data_dirs_augment();
+
 #ifdef HAVE_ECORE_IMF
    TS("Ecore_IMF Init");
    if (!ecore_imf_init())
@@ -521,8 +523,6 @@ main(int argc, char **argv)
    TS("E_Config Init Done");
    _e_main_shutdown_push(e_config_shutdown);
 
-   _xdg_data_dirs_augment();
-
    _fix_user_default_edj();
 
    TS("E_Randr Init");

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to