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
|
@ -30,7 +30,7 @@ dynlist_destroy(struct exposable *exposable)
|
|||
}
|
||||
|
||||
static int
|
||||
dynlist_begin_expose(struct exposable *exposable, cairo_t *cr)
|
||||
dynlist_begin_expose(struct exposable *exposable)
|
||||
{
|
||||
const struct private *e = exposable->private;
|
||||
|
||||
|
@ -38,7 +38,7 @@ dynlist_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