diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-05-18 00:52:39 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-05-18 00:52:39 +0100 |
commit | 19eed06d9ad20121a17a6824297312f2b5ea8a7c (patch) | |
tree | 7e1d3d5f93da5b7f08fb5b4f899f0fe4a00ec8ba /src/dbus-menu-manager.c | |
parent | d73292111b3c141f62508ffb28971e6c5b36d751 (diff) | |
download | ayatana-indicator-sound-19eed06d9ad20121a17a6824297312f2b5ea8a7c.tar.gz ayatana-indicator-sound-19eed06d9ad20121a17a6824297312f2b5ea8a7c.tar.bz2 ayatana-indicator-sound-19eed06d9ad20121a17a6824297312f2b5ea8a7c.zip |
root menuitem passed in at start up the music-bridge - vapi file for dbusmenuitem need to be fixed
Diffstat (limited to 'src/dbus-menu-manager.c')
-rw-r--r-- | src/dbus-menu-manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus-menu-manager.c b/src/dbus-menu-manager.c index e084bb1..9d62adb 100644 --- a/src/dbus-menu-manager.c +++ b/src/dbus-menu-manager.c @@ -25,7 +25,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include <dbus/dbus-glib-bindings.h> #include <libdbusmenu-glib/server.h> -#include <libdbusmenu-glib/menuitem.h> #include <libdbusmenu-glib/client.h> #include "dbus-menu-manager.h" @@ -60,7 +59,7 @@ static void refresh_menu(); /** setup: **/ -void dbus_menu_manager_setup() +DbusmenuMenuitem* dbus_menu_manager_setup() { root_menuitem = dbusmenu_menuitem_new(); g_debug("Root ID: %d", dbusmenu_menuitem_get_id(root_menuitem)); @@ -72,6 +71,7 @@ void dbus_menu_manager_setup() DbusmenuServer *server = dbusmenu_server_new(INDICATOR_SOUND_DBUS_OBJECT); dbusmenu_server_set_root(server, root_menuitem); establish_pulse_activities(dbus_interface); + return root_menuitem; } /** |