aboutsummaryrefslogtreecommitdiff
path: root/audience~
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-09-01 18:54:44 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-09-01 18:54:44 +0000
commita68dacd208a2685df462ebaad1ab651250998898 (patch)
treefdc8b5e768fee29b2398c61ff0e211e69bb40577 /audience~
parent1719a56dc3b872e8238b8ea945b5a1f934bde031 (diff)
#ifdefed out stuff that was removed in 0.37
svn path=/trunk/externals/unauthorized/; revision=924
Diffstat (limited to 'audience~')
-rw-r--r--audience~/audience~.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/audience~/audience~.c b/audience~/audience~.c
index cafc4f5..4340211 100644
--- a/audience~/audience~.c
+++ b/audience~/audience~.c
@@ -37,8 +37,7 @@
#include <math.h>
#include <ctype.h>
-#include <m_pd.h>
-
+#include "m_pd.h"
#include "m_imp.h"
#include "g_canvas.h"
#include "t_tk.h"
@@ -1050,8 +1049,13 @@ void audience_tilde_setup(void)
audience_widgetbehavior.w_deletefn = audience_delete;
audience_widgetbehavior.w_visfn = audience_vis;
audience_widgetbehavior.w_clickfn = audience_click;
+#if PD_MAJOR_VERSION == 0
+#if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION)
audience_widgetbehavior.w_propertiesfn = audience_properties;
audience_widgetbehavior.w_savefn = audience_save;
+#endif
+#endif
+
class_setwidget(audience_class_tilde, &audience_widgetbehavior);
class_sethelpsymbol(audience_class_tilde, gensym("help-audience~.pd"));
}