mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
particle: remove cairo context from begin_expose()
This commit is contained in:
parent
54797ffbd8
commit
95385863ae
11 changed files with 19 additions and 19 deletions
|
@ -36,13 +36,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue