diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-17 17:11:34 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-17 17:11:34 +0000 |
commit | 5de802bcb705a72b8c4274c71a2d5539183bee24 (patch) | |
tree | b422e586255c36c329b65d67beaf503577ccbcaf /test/imagebutton.c | |
parent | ba9bb690c306e63e57d93161109303b9dee666be (diff) |
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/tof/; revision=14153
Diffstat (limited to 'test/imagebutton.c')
-rw-r--r-- | test/imagebutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/imagebutton.c b/test/imagebutton.c index 577924a..2e2bddd 100644 --- a/test/imagebutton.c +++ b/test/imagebutton.c @@ -160,7 +160,7 @@ static void imagebutton_displace(t_gobj *z, t_glist *glist, text_xpix(&x->x_obj, glist) + x->width, text_ypix(&x->x_obj, glist) + x->height); imagebutton_drawme(x, glist, 0); - canvas_fixlinesfor(glist_getcanvas(glist),(t_text*) x); + canvas_fixlinesfor(glist,(t_text*) x); } static void imagebutton_select(t_gobj *z, t_glist *glist, int state) @@ -264,7 +264,7 @@ static void imagebutton_imagesize_callback(t_imagebutton *x, t_float w, t_float 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); } |