aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/extantz.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 20:04:08 +1000
committerDavid Walter Seikel2014-05-05 20:04:08 +1000
commit969f1968f2f74f8f09c4788bc7f7b1c9655ad354 (patch)
tree90d1d572f57c03b65c105cdcc47e9b79640a617d /src/extantz/extantz.c
parentGuiLuaDo() now returns astructure, and has that structure in Lua's C registry... (diff)
downloadSledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.zip
SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.gz
SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.bz2
SledjHamr-969f1968f2f74f8f09c4788bc7f7b1c9655ad354.tar.xz
Call skang modules from extantz. Needs some clean up.
Diffstat (limited to 'src/extantz/extantz.c')
-rw-r--r--src/extantz/extantz.c7
1 files changed, 7 insertions, 0 deletions
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)
472 woMan_add(&ourGlobals); 472 woMan_add(&ourGlobals);
473 chat_add(&ourGlobals); 473 chat_add(&ourGlobals);
474 ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE); 474 ourGlobals.files = filesAdd(&ourGlobals, (char *) elm_app_data_dir_get(), EINA_TRUE, EINA_FALSE);
475 char *args[] = {"extantz", "-l", "test", "-foo", "COMBINED!", NULL};
476 GuiLua *test = GuiLuaDo(5, args, ourGlobals.win);
475 477
476 // Gotta do this after adding the windows, otherwise the menu renders under the window. 478 // Gotta do this after adding the windows, otherwise the menu renders under the window.
477 // This sucks, gotta redefine this menu each time we create a new window? 479 // 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)
509 Evas_3D_Demo_fini(&ourGlobals); 511 Evas_3D_Demo_fini(&ourGlobals);
510 eo_unref(ourGlobals.tb); 512 eo_unref(ourGlobals.tb);
511 513
514 EINA_CLIST_FOR_EACH_ENTRY(win, &test->winFangs, winFang, node)
515 {
516 winFangDel(win);
517 }
518
512 EINA_CLIST_FOR_EACH_ENTRY(win, &ourGlobals.winFangs, winFang, node) 519 EINA_CLIST_FOR_EACH_ENTRY(win, &ourGlobals.winFangs, winFang, node)
513 { 520 {
514 winFangDel(win); 521 winFangDel(win);