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

@ -60,7 +60,7 @@ struct module {
* (module_default_*) is good enough. In this case, implement
* 'content()' instead (see above).
*/
struct module_expose_context (*begin_expose)(struct module *mod, cairo_t *cr);
struct module_expose_context (*begin_expose)(struct module *mod);
void (*expose)(const struct module *mod,
const struct module_expose_context *ctx,
cairo_t *cr, int x, int y, int height);
@ -74,7 +74,7 @@ void module_signal_ready(struct module_run_context *ctx);
void module_default_destroy(struct module *mod);
struct module_expose_context module_default_begin_expose(
struct module *mod, cairo_t *cr);
struct module *mod);
void module_default_expose(
const struct module *mod,