From ab2fb9f9c5d16f60847225608a9b21156659d210 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 5 May 2014 03:48:09 +1000 Subject: winFang no longer depends on ourGlobals. --- src/extantz/files.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/extantz/files.c') diff --git a/src/extantz/files.c b/src/extantz/files.c index c0867c6..6743deb 100644 --- a/src/extantz/files.c +++ b/src/extantz/files.c @@ -146,7 +146,8 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa Widget *wid; Evas_Object *bx, *vbox, *fs, *bt, *rd = NULL, *rdg = NULL, *hoversel; - me = winFangAdd(ourGlobals); + me = winFangAdd(ourGlobals->win); + eina_clist_add_head(&ourGlobals->winFangs, &me->node); bx = eo_add(ELM_OBJ_BOX_CLASS, me->win, elm_obj_box_homogeneous_set(EINA_FALSE), @@ -277,7 +278,7 @@ winFang *filesAdd(globals *ourGlobals, char *path, Eina_Bool multi, Eina_Bool sa eo_unref(vbox); eo_unref(bx); - winFangComplete(ourGlobals, me, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500); + winFangComplete(me, ourGlobals->win_w - 380, ourGlobals->win_w - 530, 350, 500); winFangHide(me); return me; } -- cgit v1.1