From: hermet Date: Fri, 11 Mar 2011 04:49:56 +0000 (+0000) Subject: elementary / els_scroller - removed a useless line X-Git-Tag: REL_F_I9200_20110722_1~8^2~50^2~645 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cf45cfa08ff4b34d3389bb4ca447c7a7fd63f7e;p=framework%2Fuifw%2Felementary.git elementary / els_scroller - removed a useless line It cause a error since the pan object does not have any child yet. And why it should be visible even if it should call evas_object_show after setting child? Anyway, the line does nothing. git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@57683 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/els_scroller.c b/src/lib/els_scroller.c index da027eb..407b84c 100644 --- a/src/lib/els_scroller.c +++ b/src/lib/els_scroller.c @@ -209,7 +209,6 @@ elm_smart_scroller_child_set(Evas_Object *obj, Evas_Object *child) sd->pan_obj = o; evas_object_smart_callback_add(o, "changed", _smart_pan_changed_hook, sd); evas_object_smart_callback_add(o, "pan_changed", _smart_pan_pan_changed_hook, sd); - evas_object_show(o); edje_object_part_swallow(sd->edje_obj, "elm.swallow.content", o); }