diff options
author | David Walter Seikel | 2014-05-05 03:48:09 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-05 03:48:09 +1000 |
commit | ab2fb9f9c5d16f60847225608a9b21156659d210 (patch) | |
tree | fa2d81082cc7074a96e56bb1b83bd73ff06d6086 /src/extantz/chat.c | |
parent | Merge the window handle creation code, and add proper hiding for them. (diff) | |
download | SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.zip SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.gz SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.bz2 SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.xz |
winFang no longer depends on ourGlobals.
Diffstat (limited to 'src/extantz/chat.c')
-rw-r--r-- | src/extantz/chat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/extantz/chat.c b/src/extantz/chat.c index 2155541..e0aa9da 100644 --- a/src/extantz/chat.c +++ b/src/extantz/chat.c | |||
@@ -16,7 +16,8 @@ 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); | 19 | me = winFangAdd(ourGlobals->win); |
20 | eina_clist_add_head(&ourGlobals->winFangs, &me->node); | ||
20 | 21 | ||
21 | bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, | 22 | bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, |
22 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), | 23 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), |
@@ -46,6 +47,6 @@ winFang *chat_add(globals *ourGlobals) | |||
46 | evas_object_show(bx); | 47 | evas_object_show(bx); |
47 | eo_unref(bx); | 48 | eo_unref(bx); |
48 | 49 | ||
49 | winFangComplete(ourGlobals, me, 30, 500, ourGlobals->win_w / 3, ourGlobals->win_h / 3); | 50 | winFangComplete(me, 30, 500, ourGlobals->win_w / 3, ourGlobals->win_h / 3); |
50 | return me; | 51 | return me; |
51 | } | 52 | } |