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

@ -26,13 +26,13 @@ exposable_destroy(struct exposable *exposable)
}
static int
begin_expose(struct exposable *exposable, cairo_t *cr)
begin_expose(struct exposable *exposable)
{
struct eprivate *e = exposable->private;
exposable->width = (
exposable->particle->left_margin +
e->exposable->begin_expose(e->exposable, cr) +
e->exposable->begin_expose(e->exposable) +
exposable->particle->right_margin);
return exposable->width;