Browse Source

cache: hide the cleanup.

master
Alastair Poole 1 year ago
parent
commit
6219fcaf06
  1. 1
      .gitignore
  2. 1
      src/bin/ui/ui_cache.c
  3. 4
      src/bin/ui/ui_process_list.c

1
.gitignore vendored

@ -2,3 +2,4 @@ build/*
build
*.swp
*.core
*.out.*

1
src/bin/ui/ui_cache.c

@ -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.

4
src/bin/ui/ui_process_list.c

@ -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…
Cancel
Save