]> Pileus Git - ~andy/gtk/commitdiff
Update testgmenu to latest api changes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 9 Dec 2011 16:34:39 +0000 (11:34 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 19 Dec 2011 17:51:11 +0000 (12:51 -0500)
tests/testgmenu.c

index 96dd50ca7215e9071f0b9d1b31c1561ebbc642f4..f2a6bce51c6cfff9638a41e60a31543703c48de8 100644 (file)
@@ -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
     {