Elm_Gen_Item *parent;
Eina_List *texts, *contents, *states, *content_objs;
Ecore_Timer *long_timer;
- int relcount;
int walking;
int generation; /**< a generation of an item. when the item is created, this value is set to the value of genlist generation. this value will be decreased when the item is going to be deleted */
const char *mouse_cursor;
it->generation = GG_IT(it)->wsd->generation - 1; /* This means that the
* item is deleted */
- if ((it->relcount > 0) || (it->walking > 0)) return;
+ if (it->walking > 0) return;
if (it->selected)
GG_IT(it)->wsd->selected =
{
Elm_Gen_Item *it = (Elm_Gen_Item *)item;
- if ((it->relcount > 0) || (it->walking > 0))
+ if (it->walking > 0)
{
_elm_gengrid_item_del_not_serious(it);
return;
{
if ((!it->walking) && (it->generation < GG_IT(it)->wsd->generation))
{
- if (!it->relcount)
- {
- it->del_cb(it);
- elm_widget_item_free(it);
- }
+ it->del_cb(it);
+ elm_widget_item_free(it);
}
else
GG_IT(it)->wsd->last_selected_item = (Elm_Object_Item *)it;