summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-01-08 23:54:37 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-01-08 23:54:37 +0900
commit4fecb1cc9a4624d44369277bf51f1a0401d31c71 (patch)
tree79189faf51249bf2be3c8ee69800cf93191772e7
parent1879cc39258c63c24f0abcff56558b1f1b60167a (diff)
genlist: simple code clean up
no logic change.
-rw-r--r--src/lib/elm_genlist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 9840f76e0..1974ca73a 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -1260,9 +1260,10 @@ _view_inflate(Evas_Object *view, Elm_Gen_Item *it, Eina_List **sources,
1260static void 1260static void
1261_elm_genlist_item_index_update(Elm_Gen_Item *it) 1261_elm_genlist_item_index_update(Elm_Gen_Item *it)
1262{ 1262{
1263 if (it->position_update || it->item->block->position_update) 1263 if (it->position_update || GL_IT(it)->block->position_update)
1264 { 1264 {
1265 evas_object_smart_callback_call(WIDGET(it), SIG_INDEX_UPDATE, EO_OBJ(it)); 1265 evas_object_smart_callback_call(WIDGET(it), SIG_INDEX_UPDATE,
1266 EO_OBJ(it));
1266 it->position_update = EINA_FALSE; 1267 it->position_update = EINA_FALSE;
1267 } 1268 }
1268} 1269}