forked from external/yambar
particle/module: pass a cairo context to all begin_expose()
This commit is contained in:
parent
35e9d0e25c
commit
ea38ab3b2f
10 changed files with 16 additions and 16 deletions
4
module.c
4
module.c
|
@ -20,9 +20,9 @@ module_default_destroy(struct module *mod)
|
|||
}
|
||||
|
||||
struct exposable *
|
||||
module_begin_expose(struct module *mod)
|
||||
module_begin_expose(struct module *mod, cairo_t *cr)
|
||||
{
|
||||
struct exposable *e = mod->content(mod);
|
||||
e->begin_expose(e);
|
||||
e->begin_expose(e, cr);
|
||||
return e;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue