aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-17 07:53:40 +1000
committerDavid Walter Seikel2014-05-17 07:53:40 +1000
commitc1a1d6581d6ab5e4faeac5397fdf2682c9605b8c (patch)
treeb6e453cad1edec4b65e5fc11274ac83199d84abf /src/GuiLua
parentRemove debugging and white space clean ups. (diff)
downloadSledjHamr-c1a1d6581d6ab5e4faeac5397fdf2682c9605b8c.zip
SledjHamr-c1a1d6581d6ab5e4faeac5397fdf2682c9605b8c.tar.gz
SledjHamr-c1a1d6581d6ab5e4faeac5397fdf2682c9605b8c.tar.bz2
SledjHamr-c1a1d6581d6ab5e4faeac5397fdf2682c9605b8c.tar.xz
More debugging removal.
Diffstat (limited to 'src/GuiLua')
-rw-r--r--src/GuiLua/GuiLua.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c
index f2f5a6c..94a0909 100644
--- a/src/GuiLua/GuiLua.c
+++ b/src/GuiLua/GuiLua.c
@@ -204,7 +204,6 @@ static void _on_click(void *data, Evas_Object *obj, void *event_info EINA_UNUSED
204 _A = lua_gettop(L); 204 _A = lua_gettop(L);
205 if (wid->win->module) 205 if (wid->win->module)
206 { 206 {
207 PD("Setting environment for Lua pcall to %s", wid->win->module);
208 lua_getfield(L, LUA_REGISTRYINDEX, wid->win->module); 207 lua_getfield(L, LUA_REGISTRYINDEX, wid->win->module);
209 208
210 // Consistancy would be good, just sayin'. 209 // Consistancy would be good, just sayin'.
@@ -264,7 +263,7 @@ static int action(lua_State *L)
264 pull_lua(L, 2, "$", &action); 263 pull_lua(L, 2, "$", &action);
265 if (wid && strcmp(wid->magic, "Widget") == 0) 264 if (wid && strcmp(wid->magic, "Widget") == 0)
266 { 265 {
267PD("Setting action : %s\n", action); 266//PD("Setting action : %s\n", action);
268 wid->action = strdup(action); 267 wid->action = strdup(action);
269 } 268 }
270 return 0; 269 return 0;