aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-07 10:57:26 -0600
committerTed Gould <ted@canonical.com>2009-02-07 10:57:26 -0600
commitef5f3ef754e0d603a51867ef699a094d590d04fd (patch)
tree8f2b8273e5f6ad24141c75bf7ae21b087608e91d
parent93bf960b2b8d0460a50ed1678d7065a3f5e3f02e (diff)
downloadayatana-indicator-messages-ef5f3ef754e0d603a51867ef699a094d590d04fd.tar.gz
ayatana-indicator-messages-ef5f3ef754e0d603a51867ef699a094d590d04fd.tar.bz2
ayatana-indicator-messages-ef5f3ef754e0d603a51867ef699a094d590d04fd.zip
Removing the need for an indicator
-rw-r--r--src/app-menu-item.c6
-rw-r--r--src/app-menu-item.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 654f869..ea2473e 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -10,9 +10,8 @@ typedef struct _AppMenuItemPrivate AppMenuItemPrivate;
struct _AppMenuItemPrivate
{
- IndicateListener * listener;
+ IndicateListener * listener;
IndicateListenerServer * server;
- IndicateListenerIndicator * indicator;
};
@@ -48,7 +47,6 @@ app_menu_item_init (AppMenuItem *self)
priv->listener = NULL;
priv->server = NULL;
- priv->indicator = NULL;
return;
@@ -67,7 +65,7 @@ app_menu_item_finalize (GObject *object)
}
AppMenuItem *
-app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator)
+app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server)
{
g_debug("Building a new IM Menu Item");
AppMenuItem * self = g_object_new(APP_MENU_ITEM_TYPE, NULL);
diff --git a/src/app-menu-item.h b/src/app-menu-item.h
index c514366..b2a4fd7 100644
--- a/src/app-menu-item.h
+++ b/src/app-menu-item.h
@@ -27,9 +27,9 @@ struct _AppMenuItem {
};
GType app_menu_item_get_type (void);
-AppMenuItem * app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator);
+AppMenuItem * app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server);
G_END_DECLS
-#endif
+#endif /* __APP_MENU_ITEM_H__ */