From dcd11c8d2b399ce1309637bd756c680db0aec1af Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 17 May 2014 10:54:52 +1000 Subject: Use the new server connector, and some related movements. --- src/GuiLua/GuiLua.c | 7 +++---- src/GuiLua/GuiLua.h | 4 ++-- src/GuiLua/skang.c | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/GuiLua') diff --git a/src/GuiLua/GuiLua.c b/src/GuiLua/GuiLua.c index 92254ea..0fc27f4 100644 --- a/src/GuiLua/GuiLua.c +++ b/src/GuiLua/GuiLua.c @@ -371,7 +371,7 @@ PD("GuiLua 3"); return 1; } -GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, Ecore_Con_Server *server, EPhysics_World *world) +GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world) { GuiLua *result; lua_State *L; @@ -379,7 +379,6 @@ GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, Ecore_Con_Server *serve result = calloc(1, sizeof(GuiLua)); result->parent = parent; - result->server = server; result->world = world; L = luaL_newstate(); @@ -434,13 +433,13 @@ GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, Ecore_Con_Server *serve return result; } -GuiLua *GuiLuaLoad(char *module, winFang *parent, Ecore_Con_Server *server, EPhysics_World *world) +GuiLua *GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world) { GuiLua *result; char *args[] = {"GuiLUa", "-l", ""}; args[2] = module; - result = GuiLuaDo(3, args, parent, server, world); + result = GuiLuaDo(3, args, parent, world); result->name = module; return result; } diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h index 9911ec5..d82d244 100644 --- a/src/GuiLua/GuiLua.h +++ b/src/GuiLua/GuiLua.h @@ -32,8 +32,8 @@ typedef struct _GuiLua extern const char *glName; -GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, Ecore_Con_Server *server, EPhysics_World *world); -GuiLua *GuiLuaLoad(char *module, winFang *parent, Ecore_Con_Server *server, EPhysics_World *world); +GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent, EPhysics_World *world); +GuiLua *GuiLuaLoad(char *module, winFang *parent, EPhysics_World *world); void GuiLuaDel(GuiLua *gl); #endif diff --git a/src/GuiLua/skang.c b/src/GuiLua/skang.c index 967a354..c116f30 100644 --- a/src/GuiLua/skang.c +++ b/src/GuiLua/skang.c @@ -5,7 +5,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) { HamrTime(elm_main, "GuiLua"); - GuiLuaDo(argc, argv, NULL, NULL, NULL); + GuiLuaDo(argc, argv, NULL, NULL); return 0; } -- cgit v1.1