From 3e0e995e2a45e9c4a6791d7131fc1775af4f0ac6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Sep 2010 17:11:34 +0000 Subject: merged relevant changes from Pd-extended 0.42 svn path=/trunk/externals/miXed/; revision=14153 --- toxy/pluswidget.c | 2 +- toxy/widget.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toxy/pluswidget.c b/toxy/pluswidget.c index 0deb11a..60c4955 100644 --- a/toxy/pluswidget.c +++ b/toxy/pluswidget.c @@ -130,7 +130,7 @@ static void pluswidget_displace(t_gobj *z, t_glist *glist, int dx, int dy) t_rtext *y = glist_findrtext(glist, t); rtext_displace(y, dx, dy); pluswidget_drawborder(t, glist, rtext_gettag(y), 0); - canvas_fixlinesfor(glist_getcanvas(glist), t); + canvas_fixlinesfor(glist, t); } } diff --git a/toxy/widget.c b/toxy/widget.c index e3517e3..71c24a8 100644 --- a/toxy/widget.c +++ b/toxy/widget.c @@ -299,7 +299,7 @@ static void widget_displace(t_gobj *z, t_glist *glist, int dx, int dy) if (glist_isvisible(glist)) sys_vgui("%s move %s %d %d\n", widget_getcvpathname(x, glist)->s_name, x->x_cbtarget->s_name, dx, dy); - canvas_fixlinesfor(glist_getcanvas(glist), t); + canvas_fixlinesfor(glist, t); } /* LATER handle subitems */ @@ -872,7 +872,7 @@ static void widget__config(t_widget *x, t_symbol *target, t_symbol *bg, x->x_height = (int)fh; if (bg != &s_) x->x_background = bg; x->x_hasstate = ((int)fst == 0); - canvas_fixlinesfor(glist_getcanvas(x->x_glist), (t_text *)x); /* FIXME */ + canvas_fixlinesfor(x->x_glist, (t_text *)x); /* FIXME */ } /* FIXME this is only a template */ -- cgit v1.2.1