summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorYoungbok Shin <youngb.shin@samsung.com>2015-11-09 12:24:08 -0800
committerCedric BAIL <cedric@osg.samsung.com>2015-11-09 12:37:09 -0800
commitc315ff1876afad4f340297291123072e6c4ee9d6 (patch)
tree31fad2f94e45892818d6026fd7b003648aec1388 /src/lib/elm_toolbar.c
parent8ee1ea87201464aa46d1af5bd5d8ea8417789823 (diff)
toolbar: remove a legacy code.
Summary: 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 <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 5d46d1f24..0484544f6 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2412,7 +2412,6 @@ _item_new(Evas_Object *obj,
2412 elm_layout_signal_emit(VIEW(it), "elm,state,icon,visible", "elm"); 2412 elm_layout_signal_emit(VIEW(it), "elm,state,icon,visible", "elm");
2413 elm_layout_signal_emit(VIEW(it), "elm,icon,visible", "elm"); 2413 elm_layout_signal_emit(VIEW(it), "elm,icon,visible", "elm");
2414 evas_object_show(it->icon); 2414 evas_object_show(it->icon);
2415 elm_widget_sub_object_add(obj, it->icon);
2416 } 2415 }
2417 else 2416 else
2418 { 2417 {