forked from enlightenment/efl
Delete the object in toolbar item, when the item is deleted.
SVN revision: 69246
This commit is contained in:
parent
5efc17d5b2
commit
f60d58099b
|
@ -254,6 +254,7 @@ _item_del(Elm_Toolbar_Item *it)
|
|||
eina_stringshare_del(it->label);
|
||||
eina_stringshare_del(it->icon_str);
|
||||
if (it->icon) evas_object_del(it->icon);
|
||||
if (it->object) evas_object_del(it->object);
|
||||
//TODO: See if checking for wd->menu_parent is necessary before deleting menu
|
||||
if (it->o_menu) evas_object_del(it->o_menu);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue