aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-04-22 04:20:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-04-22 04:20:38 +0000
commit0e9ab230f2a3f3cfd74aadb2983e9d76eebcc0e7 (patch)
treee3abe5dc4e9cfde9884b0978f15be51a1fc8594d /gui
parent01aa0ff0fcac3f98df54bf2f55002b00f0afda2d (diff)
quickly added third outlet from PDa source so that this object won't break PDa patches when they are edited in Pd-extended
svn path=/trunk/externals/ggee/; revision=9720
Diffstat (limited to 'gui')
-rw-r--r--gui/gcanvas.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gui/gcanvas.c b/gui/gcanvas.c
index 6a822d2..7037b04 100644
--- a/gui/gcanvas.c
+++ b/gui/gcanvas.c
@@ -1,7 +1,7 @@
/* (C) Guenter Geiger <geiger@xdv.org> */
-#include <m_pd.h>
+#include "m_pd.h"
#include "g_canvas.h"
/* ------------------------ gcanvas ----------------------------- */
@@ -18,6 +18,7 @@ typedef struct _gcanvas
t_object x_obj;
t_glist * x_glist;
t_outlet* out2;
+ t_outlet* out3;
int x_width;
int x_height;
int x;
@@ -249,9 +250,12 @@ static void *gcanvas_new(t_floatarg h,t_floatarg o)
outlet_new(&x->x_obj, &s_float);
x->out2 = outlet_new(&x->x_obj, &s_float);
+ x->out3 = outlet_new(&x->x_obj, &s_float);
return (x);
}
+
+
void gcanvas_setup(void)
{
gcanvas_class = class_new(gensym("gcanvas"), (t_newmethod)gcanvas_new, 0,