aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz/chat.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 03:48:09 +1000
committerDavid Walter Seikel2014-05-05 03:48:09 +1000
commitab2fb9f9c5d16f60847225608a9b21156659d210 (patch)
treefa2d81082cc7074a96e56bb1b83bd73ff06d6086 /src/extantz/chat.c
parentMerge the window handle creation code, and add proper hiding for them. (diff)
downloadSledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.zip
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.gz
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.bz2
SledjHamr-ab2fb9f9c5d16f60847225608a9b21156659d210.tar.xz
winFang no longer depends on ourGlobals.
Diffstat (limited to '')
-rw-r--r--src/extantz/chat.c5
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}