[*][Genlist] Fixed a unnecessary item block unrealize work
authorYun ilkook <ilkook.yun@samsung.com>
Wed, 28 Sep 2011 03:20:54 +0000 (12:20 +0900)
committerYun ilkook <ilkook.yun@samsung.com>
Thu, 6 Oct 2011 05:29:09 +0000 (14:29 +0900)
Change-Id: I9e7d0f4a8cf4ae6fd1c8091a52fac6cc16c4fe2e

src/lib/elm_genlist.c

index 6f0660c..2c213b7 100644 (file)
@@ -2499,8 +2499,8 @@ _calc_job(void *data)
                   itb->changed = EINA_TRUE;
                   if (itb->must_recalc) did_must_recalc = EINA_TRUE;
                   itb->must_recalc = EINA_FALSE;
+                  if (itb->realized) _item_block_unrealize(itb);
                }
-             if (itb->realized) _item_block_unrealize(itb);
              showme = _item_block_recalc(itb, in, EINA_FALSE);
              chb = itb;
           }