aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-10 09:29:39 -0500
committerTed Gould <ted@gould.cx>2010-08-10 09:29:39 -0500
commitd7c7a2ae1656af559bfbdb2716fe381d313b5a53 (patch)
tree657ca30b2ff102d9069c2e823db56bdd0c0aa27e
parent87bd8963233e6e53cb8a7491400a47aeab65af3c (diff)
parent89186858938bec991dfcbe931764b291edd24917 (diff)
downloadayatana-indicator-application-d7c7a2ae1656af559bfbdb2716fe381d313b5a53.tar.gz
ayatana-indicator-application-d7c7a2ae1656af559bfbdb2716fe381d313b5a53.tar.bz2
ayatana-indicator-application-d7c7a2ae1656af559bfbdb2716fe381d313b5a53.zip
Breaking the ABI so we have more space in the class structure
-rw-r--r--src/Makefile.am2
-rw-r--r--src/app-indicator.h34
2 files changed, 25 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b704b5e..0e84749 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -98,7 +98,7 @@ libappindicator_la_SOURCES = \
application-service-marshal.c
libappindicator_la_LDFLAGS = \
- -version-info 0:0:0 \
+ -version-info 1:0:0 \
-no-undefined \
-export-symbols-regex "^[^_d].*"
diff --git a/src/app-indicator.h b/src/app-indicator.h
index 8320a2f..a9e1c38 100644
--- a/src/app-indicator.h
+++ b/src/app-indicator.h
@@ -161,12 +161,20 @@ typedef struct _AppIndicatorPrivate AppIndicatorPrivate;
@new_attention_icon: Slot for #AppIndicator::new-attention-icon.
@new_status: Slot for #AppIndicator::new-status.
@new_icon_theme_path: Slot for #AppIndicator::new-icon-theme-path
+ @new_label: Slot for #AppIndicator::new-label.
@connection_changed: Slot for #AppIndicator::connection-changed.
+ @app_indicator_reserved_sw: Reserved for future use.
+ @app_indicator_reserved_ats: Reserved for future use.
@fallback: Function that gets called to make a #GtkStatusIcon when
there is no Application Indicator area available.
@unfallback: The function that gets called if an Application
Indicator area appears after the fallback has been created.
- @new_label: Slot for #AppIndicator::new-label.
+ @app_indicator_reserved_1: Reserved for future use.
+ @app_indicator_reserved_2: Reserved for future use.
+ @app_indicator_reserved_3: Reserved for future use.
+ @app_indicator_reserved_4: Reserved for future use.
+ @app_indicator_reserved_5: Reserved for future use.
+ @app_indicator_reserved_6: Reserved for future use.
The signals and external functions that make up the #AppIndicator
class object.
@@ -183,27 +191,33 @@ struct _AppIndicatorClass {
void (* new_status) (AppIndicator *indicator,
const gchar *status,
gpointer user_data);
+ void (* new_icon_theme_path) (AppIndicator *indicator,
+ const gchar *icon_theme_path,
+ gpointer user_data);
+ void (* new_label) (AppIndicator *indicator,
+ const gchar *label,
+ const gchar *guide,
+ gpointer user_data);
/* Local Signals */
void (* connection_changed) (AppIndicator * indicator,
gboolean connected,
gpointer user_data);
+ void (*app_indicator_reserved_sw)(void);
+ void (*app_indicator_reserved_ats)(void);
/* Overridable Functions */
GtkStatusIcon * (*fallback) (AppIndicator * indicator);
void (*unfallback) (AppIndicator * indicator,
GtkStatusIcon * status_icon);
- /* Another DBus Signal */
- void (* new_label) (AppIndicator *indicator,
- const gchar *label,
- const gchar *guide,
- gpointer user_data);
- void (* new_icon_theme_path) (AppIndicator *indicator,
- const gchar *icon_theme_path,
- gpointer user_data);
-
/* Reserved */
+ void (*app_indicator_reserved_1)(void);
+ void (*app_indicator_reserved_2)(void);
+ void (*app_indicator_reserved_3)(void);
+ void (*app_indicator_reserved_4)(void);
+ void (*app_indicator_reserved_5)(void);
+ void (*app_indicator_reserved_6)(void);
};
/**