diff options
author | Ryan Lortie <desrt@desrt.ca> | 2011-12-02 16:10:31 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2011-12-19 12:51:10 -0500 |
commit | 2f78238872134a7f4254024c8722ed1786f62203 (patch) | |
tree | a7e655bf3eaff38d7a3bd2557c5347d7c863edff /tests/testgmenu.c | |
parent | 2ce6a27fa35dcdf07fc38eb7cdb2744c90d804eb (diff) | |
download | gtk+-2f78238872134a7f4254024c8722ed1786f62203.tar.gz |
gmenu testcase: update to glib 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 9fd5258cee..96dd50ca72 100644 --- a/tests/testgmenu.c +++ b/tests/testgmenu.c @@ -1009,13 +1009,13 @@ main (int argc, char *argv[]) if (do_export) { g_print ("Exporting menus on the bus...\n"); - if (!g_menu_model_dbus_export_start (bus, OBJ_PATH, model, &error)) + if (!g_dbus_connection_export_menu_model (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_dbus_export_start (bus, OBJ_PATH, group, &error)) + if (!g_dbus_connection_export_action_group (bus, OBJ_PATH, group, &error)) { g_warning ("Action export failed: %s", error->message); exit (1); |