seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=5a07edc2f68bd89320c58730ceaa86c66a8b6555
commit 5a07edc2f68bd89320c58730ceaa86c66a8b6555 Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Thu Mar 20 02:13:41 2014 +0900 toolbar: Fixed wrong parameter for elm_widget_sub_object_del. Remove the icon from the sub object list for a widget not for an edje object. --- src/lib/elm_toolbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index e7be76b..5463339 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -2204,7 +2204,7 @@ _elm_toolbar_item_icon_update(Elm_Toolbar_Item *item) ELM_TOOLBAR_DATA_GET(WIDGET(item), sd); - elm_widget_sub_object_del(VIEW(item), old_icon); + elm_widget_sub_object_del(WIDGET(item), old_icon); edje_object_part_swallow(VIEW(item), "elm.swallow.icon", item->icon); if (item->icon) edje_object_signal_emit(VIEW(item), "elm,state,icon,visible", "elm"); @@ -2307,7 +2307,7 @@ _elm_toolbar_item_icon_obj_set(Evas_Object *obj, (VIEW(item), "elm.swallow.icon_new"); if (old_icon) { - elm_widget_sub_object_del(VIEW(item), old_icon); + elm_widget_sub_object_del(WIDGET(item), old_icon); evas_object_hide(old_icon); } edje_object_part_swallow --