aboutsummaryrefslogtreecommitdiff
path: root/src/imagebang.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-17 17:11:34 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-09-17 17:11:34 +0000
commit5de802bcb705a72b8c4274c71a2d5539183bee24 (patch)
treeb422e586255c36c329b65d67beaf503577ccbcaf /src/imagebang.c
parentba9bb690c306e63e57d93161109303b9dee666be (diff)
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/tof/; revision=14153
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);
}