[gtk+/wip/gmenu: 82/87] gmenu testcase: update to glib API changes
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/gmenu: 82/87] gmenu testcase: update to glib API changes
- Date: Sat, 3 Dec 2011 23:55:02 +0000 (UTC)
commit 0e3bb908a84f07f4f3d2f3169ea337983b35ff79
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Dec 2 16:10:31 2011 -0500
gmenu testcase: update to glib API changes
tests/testgmenu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testgmenu.c b/tests/testgmenu.c
index 9fd5258..96dd50c 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]