aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 11:54:09 -0600
committerTed Gould <ted@canonical.com>2009-11-03 11:54:09 -0600
commit6935a6b06c356e2e71dd94acfb894893f8040df1 (patch)
treeec8306e3988b86a78ebaca5227d9d2812bbb1dc4 /libindicator
parentaaacaacde502d2593108db0a5bf4182b9552ce4d (diff)
downloadlibayatana-indicator-6935a6b06c356e2e71dd94acfb894893f8040df1.tar.gz
libayatana-indicator-6935a6b06c356e2e71dd94acfb894893f8040df1.tar.bz2
libayatana-indicator-6935a6b06c356e2e71dd94acfb894893f8040df1.zip
Switching to a set_type function instead of making people do that themselves.
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__ */