summaryrefslogtreecommitdiff
path: root/tests/testgmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-12-09 11:34:39 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:11 -0500
commit48777991450678dc12705fd2e7fada60e0baa689 (patch)
tree4f1a2349b18d5a0be445bb879b18e397108577ba /tests/testgmenu.c
parent21f4562d103a0f00555acae6801a4cab6b3d3867 (diff)
downloadgtk+-48777991450678dc12705fd2e7fada60e0baa689.tar.gz
Update testgmenu to latest api changes
Diffstat (limited to 'tests/testgmenu.c')
-rw-r--r--tests/testgmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index 96dd50ca72..f2a6bce51c 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
{