forked from enlightenment/evisum
cache: hide the cleanup.
This commit is contained in:
parent
9158d0a8ee
commit
6219fcaf06
|
@ -2,3 +2,4 @@ build/*
|
|||
build
|
||||
*.swp
|
||||
*.core
|
||||
*.out.*
|
||||
|
|
|
@ -110,6 +110,7 @@ evisum_ui_item_cache_reset(Evisum_Ui_Cache *cache)
|
|||
cache->inactive = eina_list_prepend(cache->inactive, it);
|
||||
}
|
||||
}
|
||||
evisum_ui_item_cache_pending_del(cache);
|
||||
}
|
||||
|
||||
// Delete N at a time and pass on until empty.
|
||||
|
|
|
@ -180,9 +180,7 @@ _content_reset(Data *pd)
|
|||
elm_table_pack(pd->tb_content, pd->summary.fr, 0, 2, j, 1);
|
||||
evas_object_show(pd->summary.fr);
|
||||
elm_genlist_clear(pd->glist);
|
||||
if (pd->cache)
|
||||
evisum_ui_item_cache_reset(pd->cache);
|
||||
evisum_ui_item_cache_pending_del(pd->cache);
|
||||
evisum_ui_item_cache_reset(pd->cache);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue