From 909fd6e2c4369020707782e20656069fbb3030d1 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 20 May 2014 23:34:25 +1000 Subject: Found a way to deal with the PACKAGE_* stuff outside of Elm. It's undocumented. --- src/GuiLua/GuiLua.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/GuiLua/GuiLua.c') 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. */ -#include "LumbrJack.h" #include "GuiLua.h" #include "Runnr.h" -static int logDom; // Our logging domain. const char *glName = "ourGuiLua"; /* Sooo, how to do this - @@ -373,7 +371,6 @@ int luaopen_GuiLua(lua_State *L) printf("**********************require GuiLua\n"); // In theory this function only ever gets called once. - logDom = loggingStartup("GuiLua", logDom); elm_policy_set(ELM_POLICY_EXIT, ELM_POLICY_EXIT_NONE); 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) PE("Error running - skang.loopWindow()"); GuiLuaDel(result); result = NULL; - if (logDom >= 0) - { - eina_log_domain_unregister(logDom); - logDom = -1; - } // This shuts down Elementary, but keeps the main loop running until all ecore_evas are freed. elm_shutdown(); } } else - fprintf(stderr, "Failed to start Lua!\n"); + PE("Failed to start Lua!"); return result; } -- cgit v1.1