mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-18 16:55:40 +02:00
module/particle: remove cairo context from begin_expose()
This commit is contained in:
parent
f6977417e0
commit
558f75a54b
10 changed files with 19 additions and 19 deletions
|
@ -52,7 +52,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;
|
||||
|
||||
|
@ -62,7 +62,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue