aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/GuiLua.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-06 18:57:34 +1000
committerDavid Walter Seikel2014-05-06 18:57:34 +1000
commit531eb79446860230aec4cdbcad550c14a38ea4df (patch)
tree97182c8c1418b6290422551dcf05f4e4a3a938d0 /src/GuiLua/GuiLua.h
parentNow that everything is a winFang, GuiLua doesn't have to track it's own child... (diff)
downloadSledjHamr-531eb79446860230aec4cdbcad550c14a38ea4df.zip
SledjHamr-531eb79446860230aec4cdbcad550c14a38ea4df.tar.gz
SledjHamr-531eb79446860230aec4cdbcad550c14a38ea4df.tar.bz2
SledjHamr-531eb79446860230aec4cdbcad550c14a38ea4df.tar.xz
GuiLua's self delete when their first window gets deleted.
Diffstat (limited to 'src/GuiLua/GuiLua.h')
-rw-r--r--src/GuiLua/GuiLua.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h
index 4fd1617..2a4a3f0 100644
--- a/src/GuiLua/GuiLua.h
+++ b/src/GuiLua/GuiLua.h
@@ -18,7 +18,9 @@
18typedef struct _GuiLua 18typedef struct _GuiLua
19{ 19{
20 lua_State *L; 20 lua_State *L;
21 winFang *us; // Our window, if it exists.
21 winFang *parent; // Our parent window, if it exists. 22 winFang *parent; // Our parent window, if it exists.
23 int inDel;
22 24
23 Eina_Clist node; 25 Eina_Clist node;
24 void *data; 26 void *data;
@@ -26,5 +28,6 @@ typedef struct _GuiLua
26} GuiLua; 28} GuiLua;
27 29
28GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent); 30GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent);
31void GuiLuaDel(GuiLua *gl);
29 32
30#endif 33#endif