aboutsummaryrefslogtreecommitdiff
path: root/sql_query.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-27 20:04:30 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-12-27 20:04:30 +0000
commitaa8464ab2cc8c82528b2c2caa92c3fcf184dcb3f (patch)
tree8b600151071b618d573448f909c40d706ae8f677 /sql_query.c
parent49f21b3d329eaa81ffce2940255757298f1bee42 (diff)
moved proxy_inlet_setup() to the main setup function on mjmogo's suggestion, makes much more sense this way
svn path=/trunk/externals/hcs/; revision=9106
Diffstat (limited to 'sql_query.c')
-rw-r--r--sql_query.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql_query.c b/sql_query.c
index 49c7bbe..87c1747 100644
--- a/sql_query.c
+++ b/sql_query.c
@@ -149,8 +149,6 @@ static void *sql_query_new(t_symbol *s, int argc, t_atom *argv)
char *current = NULL;
t_sql_query *x = (t_sql_query *)pd_new(sql_query_class);
- proxy_inlet_setup();
-
x->x_query_binbuf = binbuf_new();
binbuf_add(x->x_query_binbuf, argc, argv);
binbuf_gettext(x->x_query_binbuf, &buf, &bufsize);
@@ -191,5 +189,8 @@ void sql_query_setup(void)
/* add inlet datatype methods */
class_addbang(sql_query_class, (t_method) sql_query_output);
class_addanything(sql_query_class, (t_method) sql_query_anything);
+
+ /* set up proxy inlet class */
+ proxy_inlet_setup();
}