summaryrefslogtreecommitdiffstats
path: root/glib/test-dbus-glib.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-04-24 19:18:23 +0000
committerHavoc Pennington <hp@redhat.com>2003-04-24 19:18:23 +0000
commitc9cd648f115759176d35508e9007dc5520a0dd3f (patch)
treef995183f7e792f5e5647274275ef6cfbbe3dffe9 /glib/test-dbus-glib.c
parentc2a28557111c3cfdb10f8a0cfdd495ffd70fa0a3 (diff)
2003-04-24 Havoc Pennington <hp@redhat.com>
* configure.in: add --enable-checks * dbus/dbus-message.c (dbus_message_new): reverse name/service arguments * dbus/dbus-connection.c (dbus_connection_preallocate_send): fix to use thread locks. (_dbus_connection_handler_destroyed_locked): move some private functions into proper docs group * dbus/dbus-internals.h: add _dbus_return_if_fail, _dbus_return_val_if_fail Throughout: use dbus_return_if_fail
Diffstat (limited to 'glib/test-dbus-glib.c')
-rw-r--r--glib/test-dbus-glib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/glib/test-dbus-glib.c b/glib/test-dbus-glib.c
index 9fcbe4c0..d963ee3d 100644
--- a/glib/test-dbus-glib.c
+++ b/glib/test-dbus-glib.c
@@ -30,7 +30,8 @@ main (int argc, char **argv)
dbus_connection_setup_with_g_main (connection, NULL);
- message = dbus_message_new ("org.freedesktop.DBus", "org.freedesktop.DBus.Hello");
+ message = dbus_message_new (DBUS_MESSAGE_HELLO,
+ DBUS_SERVICE_DBUS);
dbus_error_init (&error);
reply = dbus_connection_send_with_reply_and_block (connection, message, -1, &error);