[gtk+/wip/gmenu] Update testgmenu to latest api changes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gmenu] Update testgmenu to latest api changes
- Date: Fri, 9 Dec 2011 16:35:16 +0000 (UTC)
commit a86eba01d401f27612648815f560ecad251942db
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]