particle: remove cairo context from begin_expose()

This commit is contained in:
Daniel Eklöf 2019-09-22 00:55:06 +02:00
parent 54797ffbd8
commit 95385863ae
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
11 changed files with 19 additions and 19 deletions

View file

@ -54,7 +54,7 @@ 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;
@ -64,7 +64,7 @@ begin_expose(struct exposable *exposable, cairo_t *cr)
/* Sub-exposables */
for (size_t i = 0; i < e->count; i++)
exposable->width += e->exposables[i]->begin_expose(e->exposables[i], cr);
exposable->width += e->exposables[i]->begin_expose(e->exposables[i]);
return exposable->width;
}