diff options
author | Ted Gould <ted@canonical.com> | 2009-11-03 11:46:51 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-11-03 11:46:51 -0600 |
commit | 614606a905667c45ab851dc13ec683250b866333 (patch) | |
tree | b7aa94f32beb8b470494359848f8ff1e9c7e0875 /libindicator/indicator.h | |
parent | 1021a835cfe8adaabb367f67585f701cd0b5f4d5 (diff) | |
download | libayatana-indicator-614606a905667c45ab851dc13ec683250b866333.tar.gz libayatana-indicator-614606a905667c45ab851dc13ec683250b866333.tar.bz2 libayatana-indicator-614606a905667c45ab851dc13ec683250b866333.zip |
Stripping out the symbols for the old stuff, and going with the new of just getting a type.
Diffstat (limited to 'libindicator/indicator.h')
-rw-r--r-- | libindicator/indicator.h | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h index 85fe2e9..9aab6c4 100644 --- a/libindicator/indicator.h +++ b/libindicator/indicator.h @@ -25,31 +25,13 @@ License along with this library. If not, see #include <gtk/gtk.h> -#define INDICATOR_GET_LABEL_S "get_label" -typedef GtkLabel * (*get_label_t)(void); -GtkLabel * get_label (void); - -#define INDICATOR_GET_ICON_S "get_icon" -typedef GtkImage * (*get_icon_t) (void); -GtkImage * get_icon (void); - -#define INDICATOR_GET_MENU_S "get_menu" -typedef GtkMenu * (*get_menu_t) (void); -GtkMenu * get_menu (void); - -#define INDICATOR_GET_VERSION_S "get_version" -typedef gchar * (*get_version_t) (void); -gchar * get_version (void); - -#define INDICATOR_VERSION "0.2.0" +#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_name" -typedef gchar * (*get_name_t) (void); -gchar * get_name (void); -#define INDICATOR_SET_NAME(x) gchar * get_name(void) {return (x); } - +#define INDICATOR_GET_NAME_S "get_type" +typedef GType (*get_type_t) (void); +GType get_type (void); #endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */ |