[gtk+] Update testgmenu to latest api changes
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update testgmenu to latest api changes
- Date: Mon, 19 Dec 2011 18:02:57 +0000 (UTC)
commit 48777991450678dc12705fd2e7fada60e0baa689
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 9 11:34:39 2011 -0500
Update testgmenu to latest api changes
tests/testgmenu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index 96dd50c..f2a6bce 100644
--- a/tests/testgmenu.c
+++ b/tests/testgmenu.c
@@ -991,9 +991,9 @@ main (int argc, char *argv[])
if (do_import)
{
g_print ("Getting menus from the bus...\n");
- model = (GMenuModel*)g_menu_proxy_get (bus, BUS_NAME, OBJ_PATH);
+ model = (GMenuModel*)g_dbus_menu_model_get (bus, BUS_NAME, OBJ_PATH);
g_print ("Getting actions from the bus...\n");
- group = (GActionGroup*)g_dbus_action_group_new_sync (bus, BUS_NAME, OBJ_PATH, 0, NULL, NULL);
+ group = (GActionGroup*)g_dbus_action_group_get (bus, BUS_NAME, OBJ_PATH);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]