aboutsummaryrefslogtreecommitdiff
path: root/toxy
diff options
context:
space:
mode:
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 */