aboutsummaryrefslogtreecommitdiff
path: root/src/imagebang.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagebang.c')
-rw-r--r--src/imagebang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imagebang.c b/src/imagebang.c
index b140cfe..be1d43c 100644
--- a/src/imagebang.c
+++ b/src/imagebang.c
@@ -168,7 +168,7 @@ static void imagebang_displace(t_gobj *z, t_glist *glist,
text_xpix(&x->x_obj, glist) + x->width, text_ypix(&x->x_obj, glist) + x->height);
imagebang_drawme(x, glist, 0);
- canvas_fixlinesfor(glist_getcanvas(glist),(t_text*) x);
+ canvas_fixlinesfor(glist,(t_text*) x);
}
static void imagebang_select(t_gobj *z, t_glist *glist, int state)
@@ -231,7 +231,7 @@ static void imagebang_imagesize_callback(t_imagebang *x, t_float w, t_float h) {
DEBUG(post("received w %f h %f",w,h);)
x->width = w;
x->height = h;
- canvas_fixlinesfor(glist_getcanvas(x->glist),(t_text*) x);
+ canvas_fixlinesfor(x->glist,(t_text*) x);
}