module/particle: remove cairo context from begin_expose()

This commit is contained in:
Daniel Eklöf 2019-01-09 18:35:50 +01:00
parent f6977417e0
commit 558f75a54b
10 changed files with 19 additions and 19 deletions

View file

@ -38,12 +38,12 @@ module_signal_ready(struct module_run_context *ctx)
}
struct module_expose_context
module_default_begin_expose(struct module *mod, cairo_t *cr)
module_default_begin_expose(struct module *mod)
{
struct exposable *e = mod->content(mod);
return (struct module_expose_context){
.exposable = e,
.width = e->begin_expose(e, cr),
.width = e->begin_expose(e),
.private = NULL,
};
}