forked from external/yambar
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
|
@ -33,7 +33,7 @@ exposable_destroy(struct exposable *exposable)
|
|||
}
|
||||
|
||||
static int
|
||||
begin_expose(struct exposable *exposable, cairo_t *cr)
|
||||
begin_expose(struct exposable *exposable)
|
||||
{
|
||||
const struct eprivate *e = exposable->private;
|
||||
|
||||
|
@ -41,7 +41,7 @@ begin_expose(struct exposable *exposable, cairo_t *cr)
|
|||
|
||||
for (size_t i = 0; i < e->count; i++) {
|
||||
struct exposable *ee = e->exposables[i];
|
||||
e->widths[i] = ee->begin_expose(ee, cr);
|
||||
e->widths[i] = ee->begin_expose(ee);
|
||||
|
||||
exposable->width += e->left_spacing + e->widths[i] + e->right_spacing;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue