rimmed pushed a commit to branch eflete-1.18.

http://git.enlightenment.org/tools/eflete.git/commit/?id=798d81a0e2b3fb6a078ff441b2bf9da13bf16fae

commit 798d81a0e2b3fb6a078ff441b2bf9da13bf16fae
Author: Mykyta Biliavskyi <m.biliavs...@samsung.com>
Date:   Mon Sep 5 18:17:39 2016 +0300

    Create main window before create layouts.
---
 src/bin/main.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 093043e..18170e9 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -247,6 +247,11 @@ elm_main(int argc, char **argv)
 #endif
 
         config_load();
+        if (!ui_main_window_add())
+          {
+             app_shutdown();
+             return -1;
+          }
 
         if (reopen)
           {
@@ -351,11 +356,6 @@ run:
         ap.path.export_edj = export_edj;
         if (export_edc)
           _export_edc_path_set(export_edc);
-        if (!ui_main_window_add())
-          {
-             app_shutdown();
-             return -1;
-          }
         evas_object_show(ap.win);
         elm_run();
 #ifdef HAVE_ENVENTOR

-- 


Reply via email to