{
Elm_Genlist_Item *it = NULL;
Evas_Coord ow, oh, dx = 0, dy = 0, dw = 0, dh = 0;
+ if (!wd->show_item) return;
evas_object_geometry_get(wd->pan_smart, NULL, NULL, &ow, &oh);
it = wd->show_item;
dy = 0;
break;
}
- if ((pan_w > (wd->show_item->x + wd->show_item->block->x)) &&
- (pan_h > (wd->show_item->y + wd->show_item->block->y + dy)))
+
+ if (wd->show_item)
{
- _scroll_item(wd);
+ if ((pan_w > (wd->show_item->x + wd->show_item->block->x)) &&
+ (pan_h > (wd->show_item->y + wd->show_item->block->y + dy)))
+ {
+ _scroll_item(wd);
+ }
}
}
wd->calc_job = NULL;
{
it->rel->relcount--;
if ((it->rel->delete_me) && (!it->rel->relcount))
- _item_del(it->rel);
+ {
+ _item_del(it->rel);
+ elm_widget_item_free(it->rel);
+ }
+
it->rel = NULL;
}
if (itb->count > itb->wd->max_items_per_block)