[*][store] Fixed the unrealize problem of added a item
authorYun ilkook <ilkook.yun@samsung.com>
Thu, 22 Sep 2011 01:46:54 +0000 (10:46 +0900)
committerYun ilkook <ilkook.yun@samsung.com>
Thu, 22 Sep 2011 01:46:54 +0000 (10:46 +0900)
Change-Id: I48669e506a3007ea1f503c3e8120672bc3e3df89

src/lib/elm_store.c

index 25eb265..a2d5d38 100644 (file)
@@ -1253,7 +1253,7 @@ _item_realized(void *data , Evas_Object *obj __UNUSED__, void *event_info)
    Elm_Store_Item *sti = elm_genlist_item_data_get(gli);
    if (!sti) return;
 
-   if (st->live && sti->item)
+   if (st->live)
      {
         if (!sti->data) _item_job_add(sti);
      }
@@ -1269,7 +1269,7 @@ _item_unrealized(void *data , Evas_Object *obj __UNUSED__, void *event_info)
    Elm_Store_Item *sti = elm_genlist_item_data_get(gli);
    if (!sti) return;
 
-   if (st->live && sti->item)
+   if (st->live)
      {
         if (sti->eval_job)
           {