aboutsummaryrefslogtreecommitdiff
path: root/src/app-menu-item.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2012-05-21 20:39:05 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2012-05-21 20:39:05 +0200
commit6d16700bcbf52e66fffba24d8077ea7c09ddc771 (patch)
treec7d1b50ac7adc768f9f114835ac8201982e5e80b /src/app-menu-item.h
parent5faae9360d6836f4b5ab59ef2bbbf7cb624bafc1 (diff)
downloadayatana-indicator-messages-6d16700bcbf52e66fffba24d8077ea7c09ddc771.tar.gz
ayatana-indicator-messages-6d16700bcbf52e66fffba24d8077ea7c09ddc771.tar.bz2
ayatana-indicator-messages-6d16700bcbf52e66fffba24d8077ea7c09ddc771.zip
Allow creating AppMenuItems without initial listener / server
Diffstat (limited to 'src/app-menu-item.h')
-rw-r--r--src/app-menu-item.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app-menu-item.h b/src/app-menu-item.h
index d616856..a474de0 100644
--- a/src/app-menu-item.h
+++ b/src/app-menu-item.h
@@ -59,7 +59,9 @@ struct _AppMenuItem {
};
GType app_menu_item_get_type (void);
-AppMenuItem * app_menu_item_new (IndicateListener * listener, IndicateListenerServer * server);
+AppMenuItem * app_menu_item_new ();
+AppMenuItem * app_menu_item_new_with_server (IndicateListener * listener, IndicateListenerServer * server);
+void app_menu_item_set_server (AppMenuItem *self, IndicateListener *listener, IndicateListenerServer *server);
guint app_menu_item_get_count (AppMenuItem * appitem);
IndicateListenerServer * app_menu_item_get_server (AppMenuItem * appitem);
const gchar * app_menu_item_get_name (AppMenuItem * appitem);