diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-07-15 16:26:37 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-07-15 16:26:37 +0100 |
commit | 797cf05a2f643dfed7b70db6abf2095f1216aa89 (patch) | |
tree | 769eafebcc24bbf82c8471955c920e7eb88d26c0 /src/user-menu-mgr.h | |
parent | 019030dc92107fb553e1f791cc2225b67b74968b (diff) | |
download | ayatana-indicator-session-797cf05a2f643dfed7b70db6abf2095f1216aa89.tar.gz ayatana-indicator-session-797cf05a2f643dfed7b70db6abf2095f1216aa89.tar.bz2 ayatana-indicator-session-797cf05a2f643dfed7b70db6abf2095f1216aa89.zip |
user menu nicely separated for now, next the session menu
Diffstat (limited to 'src/user-menu-mgr.h')
-rw-r--r-- | src/user-menu-mgr.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/user-menu-mgr.h b/src/user-menu-mgr.h index 214c9c7..16ac055 100644 --- a/src/user-menu-mgr.h +++ b/src/user-menu-mgr.h @@ -21,8 +21,11 @@ #ifndef _USER_MENU_MGR_H_ #define _USER_MENU_MGR_H_ + #include <glib-object.h> -#include "users-service-dbus.h" +#include <libdbusmenu-gtk3/menuitem.h> + +#include "session-dbus.h" G_BEGIN_DECLS @@ -41,16 +44,10 @@ struct _UserMenuMgrClass GObjectClass parent_class; }; -struct _UserMenuMgr -{ - GObject parent_instance; - UsersServiceDbus* users_dbus_interface; - DbusmenuMenuitem* root_item; - gint user_count; -}; - GType user_menu_mgr_get_type (void) G_GNUC_CONST; +UserMenuMgr* user_menu_mgr_new (SessionDbus* session_dbus); +DbusmenuMenuitem* user_mgr_get_root_item (UserMenuMgr* self); G_END_DECLS #endif /* _USER_MENU_MGR_H_ */ |