aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator.h2
1 files changed, 1 insertions, 1 deletions
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__ */