forked from external/yambar
module/particle: remove cairo context from begin_expose()
This commit is contained in:
parent
f6977417e0
commit
558f75a54b
10 changed files with 19 additions and 19 deletions
4
module.c
4
module.c
|
@ -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,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue