From 969f1968f2f74f8f09c4788bc7f7b1c9655ad354 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 May 2014 20:04:08 +1000 Subject: Call skang modules from extantz. Needs some clean up. --- src/extantz/extantz.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/extantz/extantz.c') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index e8683f8..7346aea 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -472,6 +472,8 @@ EAPI_MAIN int elm_main(int argc, char **argv) woMan_add(&ourGlobals); chat_add(&ourGlobals); ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); + char *args[] = {"extantz", "-l", "test", "-foo", "COMBINED!", NULL}; + GuiLua *test = GuiLuaDo(5, args, ourGlobals.win); // Gotta do this after adding the windows, otherwise the menu renders under the window. // This sucks, gotta redefine this menu each time we create a new window? @@ -509,6 +511,11 @@ EAPI_MAIN int elm_main(int argc, char **argv) Evas_3D_Demo_fini(&ourGlobals); eo_unref(ourGlobals.tb); + EINA_CLIST_FOR_EACH_ENTRY(win, &test->winFangs, winFang, node) + { + winFangDel(win); + } + EINA_CLIST_FOR_EACH_ENTRY(win, &ourGlobals.winFangs, winFang, node) { winFangDel(win); -- cgit v1.1