From 443133b9b612899777a93fe9371b5f5b27a95984 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 13 May 2014 18:13:20 +1000 Subject: GuiLuaLoad() now returns the GuiLua it loaded, and adds the name. Use that for the purkle load in extantz. --- src/extantz/extantz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extantz/extantz.c') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 8d533fd..a6ffad7 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -626,7 +626,7 @@ EAPI_MAIN int elm_main(int argc, char **argv) // overlay_add(&ourGlobals); GuiLuaLoad("test", ourGlobals.mainWindow, ourGlobals.world); woMan_add(&ourGlobals); - GuiLuaLoad("purkle", ourGlobals.mainWindow, ourGlobals.world); + ourGlobals.purkle = GuiLuaLoad("purkle", ourGlobals.mainWindow, ourGlobals.world); ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); // Bump the top toolbar above the windows. -- cgit v1.1