genlist: Fix genlist index get bug
authorChunEon Park <hermet@hermet.pe.kr>
Mon, 5 Jan 2015 11:43:58 +0000 (20:43 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Mon, 5 Jan 2015 11:43:58 +0000 (20:43 +0900)
commit692e28fe74bed71b34de863f32384f7d2076c9ee
tree1437bec6fc15f703b7ccad74ed83de1e901e6904
parenta691057f05a98c8bda0916fd4be26006fcd7d1e9
genlist: Fix genlist index get bug

Because not all item block have "max_items_per_block" number of items in it's block.
So the calculation is not correct when items are added & removed in each block.

Anyhow, we need more efficient way for this API because genlist uses inlinst.
src/lib/elm_genlist.c