elementary / els_scroller - removed a useless line
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 11 Mar 2011 04:49:56 +0000 (04:49 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 11 Mar 2011 04:49:56 +0000 (04:49 +0000)
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

src/lib/els_scroller.c

index da027eb..407b84c 100644 (file)
@@ -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);
      }