From a1f5f9fcf0281dee93d22e5082cedfc55566dbe2 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 19 Oct 2011 05:08:12 +0000 Subject: port to 0.43's pdsend proc in pd-gui svn path=/trunk/externals/ggee/; revision=15622 --- gui/button.c | 2 +- gui/fatom.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/button.c b/gui/button.c index 2e051b0..6f11903 100644 --- a/gui/button.c +++ b/gui/button.c @@ -317,7 +317,7 @@ static void *button_new(t_symbol* text) /* pipe startup code to tk */ - sys_vgui("proc button_cb%lx {} {pd [concat %s b \\;]}\n", x, buf); + sys_vgui("proc button_cb%lx {} {pdsend {%s b}}\n", x, buf); outlet_new(&x->x_obj, &s_float); return (x); diff --git a/gui/fatom.h b/gui/fatom.h index c94c89b..e5258f7 100644 --- a/gui/fatom.h +++ b/gui/fatom.h @@ -417,7 +417,7 @@ static void *fatom_new(t_fatom* x,t_floatarg max, t_floatarg min, t_floatarg h,t /* pipe startup code to slitk */ - sys_vgui("proc fatom_cb%x {val} {\n pd [concat fatom%x f $val \\;]\n }\n",x,x); + sys_vgui("proc fatom_cb%x {val} {\n pdsend \"fatom%x f $val\"\n }\n",x,x); outlet_new(&x->x_obj, &s_float); return (x); -- cgit v1.2.1