forked from external/yambar
module: begin_expose() and content() take a non-const module pointer
This commit is contained in:
parent
b579f97db7
commit
7f0f096ba4
9 changed files with 15 additions and 15 deletions
2
module.c
2
module.c
|
@ -25,7 +25,7 @@ module_default_destroy(struct module *mod)
|
|||
}
|
||||
|
||||
struct module_expose_context
|
||||
module_default_begin_expose(const struct module *mod, cairo_t *cr)
|
||||
module_default_begin_expose(struct module *mod, cairo_t *cr)
|
||||
{
|
||||
struct exposable *e = mod->content(mod);
|
||||
return (struct module_expose_context){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue