aboutsummaryrefslogtreecommitdiff
path: root/toxy
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
commit3e0e995e2a45e9c4a6791d7131fc1775af4f0ac6 (patch)
treebaba87a0c85b4f3e98396c5b6b561a667ee504bb /toxy
parentdf4721fb48d4debd0b0b0bfac344877ed07ce438 (diff)
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/miXed/; revision=14153
Diffstat (limited to 'toxy')
-rw-r--r--toxy/pluswidget.c2
-rw-r--r--toxy/widget.c4
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 */