aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-21 15:01:19 -0500
committerTed Gould <ted@canonical.com>2009-04-21 15:01:19 -0500
commitae2689289232bb1237f7d37e591fc8c610d069e1 (patch)
treebfe0aa916724cf8a689136833b1e328220bc3047 /libindicator
parent4023d350d22120cd8405307f0e0465bdb95fbae6 (diff)
downloadlibayatana-indicator-ae2689289232bb1237f7d37e591fc8c610d069e1.tar.gz
libayatana-indicator-ae2689289232bb1237f7d37e591fc8c610d069e1.tar.bz2
libayatana-indicator-ae2689289232bb1237f7d37e591fc8c610d069e1.zip
Putting in and checking version information to ensure we all agree about the header version
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h
index daee3c8..6940dfb 100644
--- a/libindicator/indicator.h
+++ b/libindicator/indicator.h
@@ -16,5 +16,10 @@ get_icon_t get_icon;
typedef GtkMenu * (*get_menu_t) (void);
get_menu_t get_menu;
+#define INDICATOR_VERSION "0.2.0"
+#define INDICATOR_SET_VERSION static gchar * indicator_version_symbol = INDICATOR_VERSION;
+#define INDICATOR_VERSION_S "indicator_version_symbol"
+#define INDICATOR_VERSION_CHECK(x) (!g_strcmp0(x, INDICATOR_VERSION))
+
#endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */