long timer del - on item del. why didnt this happen before?

SVN revision: 47578
This commit is contained in:
Carsten Haitzler 2010-03-30 05:19:00 +00:00
parent 9fc0f17a49
commit 2ae3d5f457
1 changed files with 2 additions and 0 deletions

View File

@ -496,6 +496,8 @@ static void
_item_del(Elm_Genlist_Item *it)
{
elm_genlist_item_subitems_clear(it);
if (it->long_timer) ecore_timer_del(it->long_timer);
it->long_timer = NULL;
if (it->wd->show_item == it) it->wd->show_item = NULL;
if (it->selected) it->wd->selected = eina_list_remove(it->wd->selected, it);
if (it->realized) _item_unrealize(it);