aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-03 13:40:10 -0600
committerTed Gould <ted@canonical.com>2009-11-03 13:40:10 -0600
commited409d4cb434272e2ec0110305d53a06735b00c4 (patch)
treef9e3fa54b6fba40c80a536c30669937bf6110004 /libindicator/indicator.h
parent0575b91145b07ecc7fc861bcb8648296fbd74bb4 (diff)
downloadlibayatana-indicator-ed409d4cb434272e2ec0110305d53a06735b00c4.tar.gz
libayatana-indicator-ed409d4cb434272e2ec0110305d53a06735b00c4.tar.bz2
libayatana-indicator-ed409d4cb434272e2ec0110305d53a06735b00c4.zip
Whew, blew up the interface and built it back again.
Diffstat (limited to 'libindicator/indicator.h')
-rw-r--r--libindicator/indicator.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h
index 31ce0f6..8bff270 100644
--- a/libindicator/indicator.h
+++ b/libindicator/indicator.h
@@ -25,11 +25,15 @@ License along with this library. If not, see
#include <gtk/gtk.h>
+#define INDICATOR_GET_VERSION_S "get_version"
+typedef gchar * (*get_version_t) (void);
+gchar * get_version (void);
+
#define INDICATOR_VERSION "0.3.0"
#define INDICATOR_SET_VERSION gchar * get_version(void) { return INDICATOR_VERSION; }
#define INDICATOR_VERSION_CHECK(x) (!g_strcmp0(x, INDICATOR_VERSION))
-#define INDICATOR_GET_NAME_S "get_type"
+#define INDICATOR_GET_TYPE_S "get_type"
typedef GType (*get_type_t) (void);
#define INDICATOR_SET_TYPE(x) GType get_type (void) { return x; }