-void BImageControl::timeout(void) {
- CacheCleaner cleaner(basedisplay->getXDisplay());
- std::for_each(cache.begin(), cache.end(), cleaner);
- cache.remove_if(cleaner.ref_check);
+void BImageControl::timeout(BImageControl *t) {
+ CacheCleaner cleaner;
+ std::for_each(t->cache.begin(), t->cache.end(), cleaner);
+ t->cache.remove_if(cleaner.ref_check);