diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-16 20:02:51 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-08-16 20:02:51 +0200 |
commit | ceebc0610fc101f25f64e4c45d08a1bee4fdfdd0 (patch) | |
tree | 91a6684e5936904038ae0a8cef9e4d04b79be1db /src | |
parent | 2b1abaeccb3b07f609ceee8bd34f60eea78d9bbc (diff) | |
download | ayatana-indicator-messages-ceebc0610fc101f25f64e4c45d08a1bee4fdfdd0.tar.gz ayatana-indicator-messages-ceebc0610fc101f25f64e4c45d08a1bee4fdfdd0.tar.bz2 ayatana-indicator-messages-ceebc0610fc101f25f64e4c45d08a1bee4fdfdd0.zip |
panel plugin: remove unused global variables and struct
Diffstat (limited to 'src')
-rw-r--r-- | src/indicator-messages.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/indicator-messages.c b/src/indicator-messages.c index 17e8677..8755a02 100644 --- a/src/indicator-messages.c +++ b/src/indicator-messages.c @@ -65,10 +65,6 @@ GType indicator_messages_get_type (void); INDICATOR_SET_VERSION INDICATOR_SET_TYPE(INDICATOR_MESSAGES_TYPE) -/* Globals */ -static const gchar * accessible_desc = NULL; -static IndicatorObject * indicator = NULL; - /* Prototypes */ static void indicator_messages_class_init (IndicatorMessagesClass *klass); static void indicator_messages_init (IndicatorMessages *self); @@ -142,8 +138,6 @@ indicator_messages_init (IndicatorMessages *self) self->menu_wrapper = g_menu_new (); update_menu (self); - indicator = INDICATOR_OBJECT(self); - g_object_unref (bus); } @@ -181,13 +175,6 @@ indicator_messages_finalize (GObject *object) /* Functions */ -typedef struct _indicator_item_t indicator_item_t; -struct _indicator_item_t { - GtkWidget * icon; - GtkWidget * label; - GtkWidget * right; -}; - static GtkImage * get_image (IndicatorObject * io) { @@ -211,7 +198,7 @@ get_menu (IndicatorObject * io) static const gchar * get_accessible_desc (IndicatorObject * io) { - return accessible_desc; + return NULL; } static const gchar * |