aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,