From 6935a6b06c356e2e71dd94acfb894893f8040df1 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 3 Nov 2009 11:54:09 -0600 Subject: Switching to a set_type function instead of making people do that themselves. --- libindicator/indicator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libindicator/indicator.h b/libindicator/indicator.h index 9aab6c4..31ce0f6 100644 --- a/libindicator/indicator.h +++ b/libindicator/indicator.h @@ -31,7 +31,7 @@ License along with this library. If not, see #define INDICATOR_GET_NAME_S "get_type" typedef GType (*get_type_t) (void); -GType get_type (void); +#define INDICATOR_SET_TYPE(x) GType get_type (void) { return x; } #endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */ -- cgit v1.2.3