forked from enlightenment/efl
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. SVN revision: 57683
This commit is contained in:
parent
c2c9a2f723
commit
af265e149f
|
@ -209,7 +209,6 @@ elm_smart_scroller_child_set(Evas_Object *obj, Evas_Object *child)
|
||||||
sd->pan_obj = o;
|
sd->pan_obj = o;
|
||||||
evas_object_smart_callback_add(o, "changed", _smart_pan_changed_hook, sd);
|
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_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);
|
edje_object_part_swallow(sd->edje_obj, "elm.swallow.content", o);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue