diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-12-09 11:34:39 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-19 12:51:11 -0500 |
commit | 48777991450678dc12705fd2e7fada60e0baa689 (patch) | |
tree | 4f1a2349b18d5a0be445bb879b18e397108577ba /tests/testgmenu.c | |
parent | 21f4562d103a0f00555acae6801a4cab6b3d3867 (diff) | |
download | gtk+-48777991450678dc12705fd2e7fada60e0baa689.tar.gz |
Update testgmenu to latest api changes
Diffstat (limited to 'tests/testgmenu.c')
-rw-r--r-- | tests/testgmenu.c | 4 |
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 { |