From 4d33b142d420555193c5ec77140e2ce9c33e96f9 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 2 May 2014 08:40:15 +1000 Subject: Clean up globals. --- src/GuiLua/GuiLua.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/GuiLua/GuiLua.h') diff --git a/src/GuiLua/GuiLua.h b/src/GuiLua/GuiLua.h index 2e2a616..42442cf 100644 --- a/src/GuiLua/GuiLua.h +++ b/src/GuiLua/GuiLua.h @@ -3,9 +3,6 @@ #include "Runnr.h" -typedef struct _globals globals; - - #define WIDTH (300) #define HEIGHT (300) @@ -15,13 +12,13 @@ typedef struct _globals globals; #define THINGASM "thingasm" -struct _globals +typedef struct _globals { Evas *evas; Evas_Object *win; // Our Elm window. Eina_Clist widgets; // Our windows widgets. int logDom; // Our logging domain. -}; +} globals; int luaopen_widget(lua_State *L); -- cgit v1.1