aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-22 15:22:14 -0500
committerTed Gould <ted@canonical.com>2009-04-22 15:22:14 -0500
commitc0b1f48f8ca11d5a74c00ccfd46454217c629e24 (patch)
tree84954db890d0de15d645cc52d4a6f16f39805c96
parent20cfaa9c1d9fadf63cd4508b550541a71813243e (diff)
downloadlibayatana-indicator-c0b1f48f8ca11d5a74c00ccfd46454217c629e24.tar.gz
libayatana-indicator-c0b1f48f8ca11d5a74c00ccfd46454217c629e24.tar.bz2
libayatana-indicator-c0b1f48f8ca11d5a74c00ccfd46454217c629e24.zip
Oops, not what I wanted. These should have been prototypes not global variables. Takes a second to think about it, but yeah, that's what they were.
-rw-r--r--libindicator/indicator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h
index 6940dfb..96b6d04 100644
--- a/libindicator/indicator.h
+++ b/libindicator/indicator.h
@@ -6,15 +6,15 @@
#define INDICATOR_GET_LABEL_S "get_label"
typedef GtkLabel * (*get_label_t)(void);
-get_label_t get_label;
+GtkLabel * get_label (void);
#define INDICATOR_GET_ICON_S "get_icon"
typedef GtkImage * (*get_icon_t) (void);
-get_icon_t get_icon;
+GtkImage * get_icon (void);
#define INDICATOR_GET_MENU_S "get_menu"
typedef GtkMenu * (*get_menu_t) (void);
-get_menu_t get_menu;
+GtkMenu * get_menu (void);
#define INDICATOR_VERSION "0.2.0"
#define INDICATOR_SET_VERSION static gchar * indicator_version_symbol = INDICATOR_VERSION;