From 20f851e6e2ceed52739ffcad85e10fa4c183bff1 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Tue, 6 May 2014 16:53:17 +1000 Subject: Every window is a winFang now, and winFangs delete their own children. --- src/extantz/chat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/extantz/chat.c') 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) Widget *wid; Evas_Object *bx, *en; - me = winFangAdd(ourGlobals->win, 30, 520, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "chatter box", "chat"); - eina_clist_add_head(&ourGlobals->winFangs, &me->node); + me = winFangAdd(ourGlobals->mainWindow, 30, 520, ourGlobals->win_w / 3, ourGlobals->win_h / 3, "chatter box", "chat"); bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, EVAS_HINT_EXPAND), -- cgit v1.1