diff options
Diffstat (limited to 'src/GuiLua/GuiLua.c')
-rw-r--r-- | src/GuiLua/GuiLua.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 5815b45..1ffbc0f 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c | |||
@@ -142,12 +142,10 @@ and ordinary elementary widgets. Proper introspection can come later. | |||
142 | */ | 142 | */ |
143 | 143 | ||
144 | 144 | ||
145 | #include "LumbrJack.h" | ||
146 | #include "GuiLua.h" | 145 | #include "GuiLua.h" |
147 | #include "Runnr.h" | 146 | #include "Runnr.h" |
148 | 147 | ||
149 | 148 | ||
150 | static int logDom; // Our logging domain. | ||
151 | const char *glName = "ourGuiLua"; | 149 | const char *glName = "ourGuiLua"; |
152 | 150 | ||
153 | /* Sooo, how to do this - | 151 | /* Sooo, how to do this - |
@@ -373,7 +371,6 @@ int luaopen_GuiLua(lua_State *L) | |||
373 | 371 | ||
374 | printf("**********************require GuiLua\n"); | 372 | printf("**********************require GuiLua\n"); |
375 | // In theory this function only ever gets called once. | 373 | // In theory this function only ever gets called once. |
376 | logDom = loggingStartup("GuiLua", logDom); | ||
377 | 374 | ||
378 | elm_policy_set(ELM_POLICY_EXIT, ELM_POLICY_EXIT_NONE); | 375 | elm_policy_set(ELM_POLICY_EXIT, ELM_POLICY_EXIT_NONE); |
379 | elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_NONE); | 376 | elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_NONE); |
@@ -474,18 +471,13 @@ GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world) | |||
474 | PE("Error running - skang.loopWindow()"); | 471 | PE("Error running - skang.loopWindow()"); |
475 | GuiLuaDel(result); | 472 | GuiLuaDel(result); |
476 | result = NULL; | 473 | result = NULL; |
477 | if (logDom >= 0) | ||
478 | { | ||
479 | eina_log_domain_unregister(logDom); | ||
480 | logDom = -1; | ||
481 | } | ||
482 | 474 | ||
483 | // This shuts down Elementary, but keeps the main loop running until all ecore_evas are freed. | 475 | // This shuts down Elementary, but keeps the main loop running until all ecore_evas are freed. |
484 | elm_shutdown(); | 476 | elm_shutdown(); |
485 | } | 477 | } |
486 | } | 478 | } |
487 | else | 479 | else |
488 | fprintf(stderr, "Failed to start Lua!\n"); | 480 | PE("Failed to start Lua!"); |
489 | 481 | ||
490 | return result; | 482 | return result; |
491 | } | 483 | } |