diff options
author | David Walter Seikel | 2014-05-06 18:57:34 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-06 18:57:34 +1000 |
commit | 531eb79446860230aec4cdbcad550c14a38ea4df (patch) | |
tree | 97182c8c1418b6290422551dcf05f4e4a3a938d0 /src/GuiLua/GuiLua.h | |
parent | Now that everything is a winFang, GuiLua doesn't have to track it's own child... (diff) | |
download | SledjHamr-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 '')
-rw-r--r-- | src/GuiLua/GuiLua.h | 3 |
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 @@ | |||
18 | typedef struct _GuiLua | 18 | typedef 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 | ||
28 | GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent); | 30 | GuiLua *GuiLuaDo(int argc, char **argv, winFang *parent); |
31 | void GuiLuaDel(GuiLua *gl); | ||
29 | 32 | ||
30 | #endif | 33 | #endif |