aboutsummaryrefslogtreecommitdiff
path: root/src
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
commit5de802bcb705a72b8c4274c71a2d5539183bee24 (patch)
treeb422e586255c36c329b65d67beaf503577ccbcaf /src
parentba9bb690c306e63e57d93161109303b9dee666be (diff)
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/tof/; revision=14153
Diffstat (limited to 'src')
-rw-r--r--src/imagebang.c4
-rw-r--r--src/menubutton_w.h2
-rw-r--r--src/w_breakpoints.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/imagebang.c b/src/imagebang.c
index b140cfe..be1d43c 100644
--- a/src/imagebang.c
+++ b/src/imagebang.c
@@ -168,7 +168,7 @@ static void imagebang_displace(t_gobj *z, t_glist *glist,
text_xpix(&x->x_obj, glist) + x->width, text_ypix(&x->x_obj, glist) + x->height);
imagebang_drawme(x, glist, 0);
- canvas_fixlinesfor(glist_getcanvas(glist),(t_text*) x);
+ canvas_fixlinesfor(glist,(t_text*) x);
}
static void imagebang_select(t_gobj *z, t_glist *glist, int state)
@@ -231,7 +231,7 @@ static void imagebang_imagesize_callback(t_imagebang *x, t_float w, t_float h) {
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);
}
diff --git a/src/menubutton_w.h b/src/menubutton_w.h
index f683c4a..cdd223d 100644
--- a/src/menubutton_w.h
+++ b/src/menubutton_w.h
@@ -320,7 +320,7 @@ static void menubutton_w_displace(t_gobj *z, t_glist *glist,
menubutton_w_draw_handle(x,glist,UPDATE);
menubutton_w_draw_inlets(x, glist, UPDATE, 1,1);
menubutton_w_drawme(x, glist, UPDATE);
- canvas_fixlinesfor(glist_getcanvas(glist),(t_text*) x);
+ canvas_fixlinesfor(glist,(t_text*) x);
}
DEBUG(post("displace end");)
}
diff --git a/src/w_breakpoints.h b/src/w_breakpoints.h
index 2b980d7..b747672 100644
--- a/src/w_breakpoints.h
+++ b/src/w_breakpoints.h
@@ -352,7 +352,7 @@ static void breakpoints_displace(t_gobj *z, t_glist *glist,
x->x_obj.te_ypix += dy;
breakpoints_drawme(x, glist, 0);
- canvas_fixlinesfor(glist_getcanvas(glist),(t_text*) x);
+ canvas_fixlinesfor(glist,(t_text*) x);
}
static void breakpoints_select(t_gobj *z, t_glist *glist, int state)
@@ -374,7 +374,7 @@ static void breakpoints_activate(t_gobj *z, t_glist *glist, int state)
static void breakpoints_delete(t_gobj *z, t_glist *glist)
{
t_text *x = (t_text *)z;
- canvas_deletelinesfor(glist_getcanvas(glist), x);
+ canvas_deletelinesfor(glist, x);
}