From: hermet Date: Wed, 28 Mar 2012 10:04:55 +0000 (+0000) Subject: elementary/naviframe - more clean tree X-Git-Tag: sbs/armel/slp2-target~36^2~119 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e12d9a11fee62858d6f6aca144220298f3e2c4b5;p=framework%2Fuifw%2Felementary.git elementary/naviframe - more clean tree git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@69702 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c index a0fcc76..cc9767e 100644 --- a/src/lib/elc_naviframe.c +++ b/src/lib/elc_naviframe.c @@ -1039,7 +1039,7 @@ _item_new(Evas_Object *obj, //item base layout VIEW(it) = elm_layout_add(obj); - evas_object_smart_member_add(VIEW(it), wd->base); + evas_object_smart_member_add(VIEW(it), obj); evas_object_event_callback_add(VIEW(it), EVAS_CALLBACK_CHANGED_SIZE_HINTS, @@ -1133,7 +1133,7 @@ elm_naviframe_add(Evas_Object *parent) //base //FIXME: Is this base layout really needed? - wd->base = elm_layout_add(parent); + wd->base = elm_layout_add(obj); evas_object_event_callback_add(wd->base, EVAS_CALLBACK_CHANGED_SIZE_HINTS, _changed_size_hints,