summaryrefslogtreecommitdiff
path: root/tests/testgmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-11-29 17:44:11 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:07 -0500
commit7ee18bd74adcea1772950363a9cd6f1c70d88350 (patch)
treeda78db3de1c480fd5e9ea694aa2439c45980ee17 /tests/testgmenu.c
parent0455a9596faa91ec404fde3ea0580f8e32da9149 (diff)
downloadgtk+-7ee18bd74adcea1772950363a9cd6f1c70d88350.tar.gz
Make it build against the current wip/menus-rebase3 branch
Diffstat (limited to 'tests/testgmenu.c')
-rw-r--r--tests/testgmenu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index 4aa5bb4271..5fb657ceb6 100644
--- a/tests/testgmenu.c
+++ b/tests/testgmenu.c
@@ -1007,21 +1007,19 @@ main (int argc, char *argv[])
if (do_export)
{
-#if 0
g_print ("Exporting menus on the bus...\n");
- if (!g_menu_exporter_export (bus, OBJ_PATH, model, &error))
+ if (!g_menu_model_dbus_export_start (bus, OBJ_PATH, model, &error))
{
g_warning ("Menu export failed: %s", error->message);
exit (1);
}
g_print ("Exporting actions on the bus...\n");
- if (!g_action_group_exporter_export (bus, OBJ_PATH, group, &error))
+ if (!g_action_group_dbus_export_start (bus, OBJ_PATH, group, &error))
{
g_warning ("Action export failed: %s", error->message);
exit (1);
}
g_bus_own_name_on_connection (bus, BUS_NAME, 0, NULL, NULL, NULL, NULL);
-#endif
}
else
{