module: remove 'with' from expose-context

This commit is contained in:
Daniel Eklöf 2019-01-13 14:33:58 +01:00
parent a425378576
commit 9276724113
3 changed files with 16 additions and 16 deletions

View file

@ -41,9 +41,10 @@ struct module_expose_context
module_default_begin_expose(struct module *mod)
{
struct exposable *e = mod->content(mod);
e->begin_expose(e);
return (struct module_expose_context){
.exposable = e,
.width = e->begin_expose(e),
.private = NULL,
};
}