forked from external/yambar
module: remove ready_fd
All modules are expected to handle a call to content() after having been instantiated. I.e. modules *cannot* even expect run() to have started running.
This commit is contained in:
parent
65cfcfb2de
commit
acdeff3b6e
14 changed files with 27 additions and 66 deletions
|
@ -54,8 +54,7 @@ static int
|
|||
run(struct module_run_context *ctx)
|
||||
{
|
||||
const struct bar *bar = ctx->module->bar;
|
||||
|
||||
module_signal_ready(ctx);
|
||||
bar->refresh(bar);
|
||||
|
||||
while (true) {
|
||||
time_t now = time(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue