summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_external_inspector.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-09-25 10:29:54 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-09-25 10:29:54 +0100
commit9bfba0867d32b2ca63b2262341fb27526639b290 (patch)
treec694c45441701ab343c84ab267c5e06fa637890e /src/bin/edje/edje_external_inspector.c
parentabf0e9dffe35da8fa6e20055f53786b2adbec271 (diff)
edje_external_inspector: re-order _init a bit: log after eina, remove ecore_init/shutdown as it is already managed by edje_init/shutdown
Reviewers: raster Reviewed By: raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12160
Diffstat (limited to '')
-rw-r--r--src/bin/edje/edje_external_inspector.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/edje/edje_external_inspector.c b/src/bin/edje/edje_external_inspector.c
index 3a4f937b06..718c02fc74 100644
--- a/src/bin/edje/edje_external_inspector.c
+++ b/src/bin/edje/edje_external_inspector.c
@@ -614,9 +614,7 @@ main(int argc, char **argv)
614 614
615 ecore_app_no_system_modules(); 615 ecore_app_no_system_modules();
616 616
617 ecore_init();
618 eina_init(); 617 eina_init();
619 edje_init();
620 618
621 _log_dom = eina_log_domain_register 619 _log_dom = eina_log_domain_register
622 ("edje_external_inspector", EINA_COLOR_YELLOW); 620 ("edje_external_inspector", EINA_COLOR_YELLOW);
@@ -628,6 +626,8 @@ main(int argc, char **argv)
628 goto error_log; 626 goto error_log;
629 } 627 }
630 628
629 edje_init();
630
631 arg_index = ecore_getopt_parse(&optdesc, values, argc, argv); 631 arg_index = ecore_getopt_parse(&optdesc, values, argc, argv);
632 if (arg_index < 0) 632 if (arg_index < 0)
633 { 633 {
@@ -670,10 +670,9 @@ main(int argc, char **argv)
670 free(module_patterns_str); 670 free(module_patterns_str);
671 671
672error_getopt: 672error_getopt:
673 edje_shutdown();
673 eina_log_domain_unregister(_log_dom); 674 eina_log_domain_unregister(_log_dom);
674error_log: 675error_log:
675 edje_shutdown();
676 ecore_shutdown();
677 eina_shutdown(); 676 eina_shutdown();
678 677
679 return ret; 678 return ret;