cedric pushed a commit to branch master.


commit c315ff1876afad4f340297291123072e6c4ee9d6
Author: Youngbok Shin <youngb.s...@samsung.com>
Date:   Mon Nov 9 12:24:08 2015 -0800

    toolbar: remove a legacy code.
    The icon is already sub object of VIEW(item) by content_set.
    We don't need to make icon as a sub object of obj again.
    It was used when VIEW(item) is Edje object.
    Test Plan: None
    Reviewers: Hermet, eagleeye, cedric
    Reviewed By: cedric
    Differential Revision: https://phab.enlightenment.org/D3249
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
 src/lib/elm_toolbar.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 5d46d1f..0484544 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2412,7 +2412,6 @@ _item_new(Evas_Object *obj,
         elm_layout_signal_emit(VIEW(it), "elm,state,icon,visible", "elm");
         elm_layout_signal_emit(VIEW(it), "elm,icon,visible", "elm");
-        elm_widget_sub_object_add(obj, it->icon);


Reply via email to