From be35610a58396196eae1a1ade5054898dcc95feb Mon Sep 17 00:00:00 2001 From: Seunggyun Kim Date: Thu, 21 Mar 2013 21:06:41 +0900 Subject: [PATCH] [elm_genlist.c] fix contact item unrealize problem Change-Id: I511e783af79bf8e87bdc3444c6610728375dd7d8 --- src/lib/elm_genlist.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index 8526cfd..3e66140 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -185,10 +185,6 @@ _item_cache_push(Elm_Gen_Item *it) Elm_Genlist_Smart_Data *sd = GL_IT(it)->wsd; Item_Cache *ic = NULL; -#if GENLIST_FX_SUPPORT - if (sd->pending_del_items) return; -#endif - if (sd->item_cache_count >= sd->item_cache_max) { ic = EINA_INLIST_CONTAINER_GET(sd->item_cache->last, Item_Cache); @@ -218,7 +214,11 @@ _item_cache_push(Elm_Gen_Item *it) _contract_signal_cb, it); _item_mouse_callbacks_del(it, VIEW(it)); +#if GENLIST_FX_SUPPORT + if ((it->item->nocache_once) || (it->item->nocache) || (sd->pending_del_items)) +#else if ((it->item->nocache_once) || (it->item->nocache)) +#endif { if (VIEW(it)) evas_object_del(VIEW(it)); if (it->spacer) evas_object_del(it->spacer); -- 2.7.4