elementary: avoid stack corruption unselect item toolbar before del it

SVN revision: 56335
This commit is contained in:
Michael BOUCHAUD 2011-01-27 22:14:32 +00:00
parent f1ea3ee423
commit 0f80e8a743
1 changed files with 1 additions and 0 deletions

View File

@ -215,6 +215,7 @@ static void
_item_del(Elm_Toolbar_Item *it)
{
Elm_Toolbar_Item_State *it_state;
_item_unselect(it);
elm_widget_item_pre_notify_del(it);
EINA_LIST_FREE(it->states, it_state)
{