diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-06-17 16:50:30 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2010-06-17 16:50:30 -0400 |
commit | 619a7c5da5817b5da3bfd8af5c3af9de450b6d48 (patch) | |
tree | 8047ef8b2414a7f097042712dffe1e9bdfdcf90e /src/dbus-menu-manager.c | |
parent | 012ac7d97cc878ac1a66c9330e82b96e363f2e61 (diff) | |
download | ayatana-indicator-sound-619a7c5da5817b5da3bfd8af5c3af9de450b6d48.tar.gz ayatana-indicator-sound-619a7c5da5817b5da3bfd8af5c3af9de450b6d48.tar.bz2 ayatana-indicator-sound-619a7c5da5817b5da3bfd8af5c3af9de450b6d48.zip |
Import upstream version 0.3.1
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; } /** |