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/widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toxy/widget.c') 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