diff options
Diffstat (limited to '')
-rw-r--r-- | src/extantz/extantz.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index efe3748..03b2362 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c | |||
@@ -1,6 +1,7 @@ | |||
1 | #include "extantz.h" | 1 | #include "extantz.h" |
2 | 2 | ||
3 | 3 | ||
4 | static int logDom; // Our logging domain. | ||
4 | globals ourGlobals; | 5 | globals ourGlobals; |
5 | 6 | ||
6 | 7 | ||
@@ -404,7 +405,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
404 | fprintf(stdout, "library directory is: %s\n", elm_app_lib_dir_get()); | 405 | fprintf(stdout, "library directory is: %s\n", elm_app_lib_dir_get()); |
405 | fprintf(stdout, "locale directory is: %s\n", elm_app_locale_dir_get()); | 406 | fprintf(stdout, "locale directory is: %s\n", elm_app_locale_dir_get()); |
406 | 407 | ||
407 | ourGlobals.logDom = loggingStartup("extantz", ourGlobals.logDom); | 408 | logDom = loggingStartup("extantz", logDom); |
408 | 409 | ||
409 | // Don't do this, we need to clean up other stuff to, so set a clean up function below. | 410 | // Don't do this, we need to clean up other stuff to, so set a clean up function below. |
410 | //elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); | 411 | //elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED); |
@@ -516,10 +517,10 @@ EAPI_MAIN int elm_main(int argc, char **argv) | |||
516 | evas_object_del(ourGlobals.win); | 517 | evas_object_del(ourGlobals.win); |
517 | } | 518 | } |
518 | 519 | ||
519 | if (ourGlobals.logDom >= 0) | 520 | if (logDom >= 0) |
520 | { | 521 | { |
521 | eina_log_domain_unregister(ourGlobals.logDom); | 522 | eina_log_domain_unregister(logDom); |
522 | ourGlobals.logDom = -1; | 523 | logDom = -1; |
523 | } | 524 | } |
524 | 525 | ||
525 | elm_shutdown(); | 526 | elm_shutdown(); |