diff options
author | David Walter Seikel | 2014-05-06 16:53:17 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-06 16:53:17 +1000 |
commit | 20f851e6e2ceed52739ffcad85e10fa4c183bff1 (patch) | |
tree | dff97aa7a2b694e27e8c32ae58489e375805bade /src/extantz/chat.c | |
parent | Disable the non working Elm input callback, and TODO++. (diff) | |
download | SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.zip SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.gz SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.bz2 SledjHamr-20f851e6e2ceed52739ffcad85e10fa4c183bff1.tar.xz |
Every window is a winFang now, and winFangs delete their own children.
Diffstat (limited to 'src/extantz/chat.c')
-rw-r--r-- | src/extantz/chat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/extantz/chat.c b/src/extantz/chat.c index d060cb1..4c18e53 100644 --- a/src/extantz/chat.c +++ b/src/extantz/chat.c | |||
@@ -16,8 +16,7 @@ winFang *chat_add(globals *ourGlobals) | |||
16 | Widget *wid; | 16 | Widget *wid; |
17 | Evas_Object *bx, *en; | 17 | Evas_Object *bx, *en; |
18 | 18 | ||
19 | me = winFangAdd(ourGlobals->win, 30, 520, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "chatter box", "chat"); | 19 | me = winFangAdd(ourGlobals->mainWindow, 30, 520, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "chatter box", "chat"); |
20 | eina_clist_add_head(&ourGlobals->winFangs, &me->node); | ||
21 | 20 | ||
22 | bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, | 21 | bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, |
23 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), | 22 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), |