Idle.add is always used in conjunction with do_update, so just move it inside
cleanup_database (this.containers.peek_head() as DummyContainer);
this.do_update ();
- Idle.add(this.on_idle);
}
void cleanup_database (DummyContainer container) {
this.files.pop_head ();
this.do_update ();
- Idle.add(this.on_idle);
}
}
if (file == entry.file) {
this.files.pop_head ();
this.do_update ();
- Idle.add(this.on_idle);
}
}
this.containers.peek_head ().updated ();
this.containers.pop_head ();
}
+ Idle.add(this.on_idle);
}
}