aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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__ */