diff options
author | Ted Gould <ted@gould.cx> | 2010-12-06 17:12:39 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-12-06 17:12:39 -0600 |
commit | 0d80d13d380533d5bb98f9820ff1e59c5ce80938 (patch) | |
tree | 88416aafb46ed1eb8f847442e59873cc5ae24462 /src/app-indicator.c | |
parent | a666e4bf6fb63a54bc8fda8f12ba8c6cdbf19669 (diff) | |
download | libayatana-appindicator-0d80d13d380533d5bb98f9820ff1e59c5ce80938.tar.gz libayatana-appindicator-0d80d13d380533d5bb98f9820ff1e59c5ce80938.tar.bz2 libayatana-appindicator-0d80d13d380533d5bb98f9820ff1e59c5ce80938.zip |
Killing the X signals as well
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r-- | src/app-indicator.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c index a95c7c1..81f3754 100644 --- a/src/app-indicator.c +++ b/src/app-indicator.c @@ -107,7 +107,6 @@ enum { NEW_ATTENTION_ICON, NEW_STATUS, NEW_LABEL, - X_NEW_LABEL, CONNECTION_CHANGED, NEW_ICON_THEME_PATH, LAST_SIGNAL @@ -151,9 +150,6 @@ enum { #define APP_INDICATOR_GET_PRIVATE(o) \ (G_TYPE_INSTANCE_GET_PRIVATE ((o), APP_INDICATOR_TYPE, AppIndicatorPrivate)) -/* Signal wrapper */ -#define APP_INDICATOR_SIGNAL_X_NEW_LABEL ("x-ayatana-" APP_INDICATOR_SIGNAL_NEW_LABEL) - /* Default Path */ #define DEFAULT_ITEM_PATH "/org/ayatana/NotificationItem" @@ -464,22 +460,6 @@ app_indicator_class_init (AppIndicatorClass *klass) _application_service_marshal_VOID__STRING_STRING, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); - /** - AppIndicator::x-ayatana-new-label: - @arg0: The #AppIndicator object - @arg1: The string for the label - @arg1: The string for the guide - - Wrapper for #AppIndicator::new-label, please don't use this signal - use the other one. - */ - signals[X_NEW_LABEL] = g_signal_new (APP_INDICATOR_SIGNAL_X_NEW_LABEL, - G_TYPE_FROM_CLASS(klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (AppIndicatorClass, new_label), - NULL, NULL, - _application_service_marshal_VOID__STRING_STRING, - G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING); /** AppIndicator::connection-changed: @@ -988,10 +968,6 @@ signal_label_change_idle (gpointer user_data) priv->label != NULL ? priv->label : "", priv->label_guide != NULL ? priv->label_guide : "", TRUE); - g_signal_emit(G_OBJECT(self), signals[X_NEW_LABEL], 0, - priv->label != NULL ? priv->label : "", - priv->label_guide != NULL ? priv->label_guide : "", - TRUE); priv->label_change_idle = 0; |