From 665e5e4ff584237c1e3aac97d59995ec8ddda817 Mon Sep 17 00:00:00 2001 From: Miller Puckette Date: Thu, 5 Feb 2009 03:28:27 +0000 Subject: 0.42-4. Fixes "send" template bug, "gfxstub" bug, 2 pd~ bugs svn path=/trunk/; revision=10737 --- pd/src/x_gui.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pd/src/x_gui.c') diff --git a/pd/src/x_gui.c b/pd/src/x_gui.c index 7cc23d26..6ba58a7b 100644 --- a/pd/src/x_gui.c +++ b/pd/src/x_gui.c @@ -158,8 +158,7 @@ static void gfxstub_free(t_gfxstub *x) static void gfxstub_setup(void) { - gfxstub_class = class_new(gensym("gfxstub"), (t_newmethod)gfxstub_new, - (t_method)gfxstub_free, + gfxstub_class = class_new(gensym("gfxstub"), 0, (t_method)gfxstub_free, sizeof(t_gfxstub), CLASS_PD, 0); class_addanything(gfxstub_class, gfxstub_anything); class_addmethod(gfxstub_class, (t_method)gfxstub_signoff, -- cgit v1.2.1