summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-02-13 21:21:42 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-02-13 21:21:42 +0000
commitaa4b4ef5955606659557a40a2220090ee9c108d4 (patch)
tree86038fbfeedd65f137fa29ac0f2a04bc8a8cb9de /test
parenta7c05492537b149f67760ecb1958350900843173 (diff)
downloaddbus-aa4b4ef5955606659557a40a2220090ee9c108d4.tar.gz
2003-02-13 Anders Carlsson <andersca@codefactory.se>
* bus/driver.c: (bus_driver_send_service_deleted), (bus_driver_send_service_created), (bus_driver_send_service_lost), (bus_driver_send_service_acquired), (bus_driver_handle_hello), (bus_driver_send_welcome_message), (bus_driver_handle_list_services), (bus_driver_handle_acquire_service), (bus_driver_handle_service_exists): * dbus/dbus-bus.c: (dbus_bus_register_client), (dbus_bus_acquire_service), (dbus_bus_service_exists): * dbus/dbus-errors.c: (dbus_result_to_string): * dbus/dbus-errors.h: * dbus/dbus-message.c: (dbus_message_append_args), (dbus_message_append_args_valist), (dbus_message_get_args), (dbus_message_get_args_valist), (dbus_message_get_args_iter), (dbus_message_iter_get_arg_type), (dbus_message_iter_get_string), (dbus_message_iter_get_byte_array), (dbus_message_iter_get_string_array), (message_iter_test), (check_message_handling), (_dbus_message_test): * dbus/dbus-message.h: * test/bus-test.c: (main): Change fields to arguments in messages, so that they won't be confused with header fields. * glib/test-dbus-glib.c: (main): Remove append_fields from hello message.
Diffstat (limited to 'test')
-rw-r--r--test/bus-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/bus-test.c b/test/bus-test.c
index 29443c0f..cfafe0ff 100644
--- a/test/bus-test.c
+++ b/test/bus-test.c
@@ -167,9 +167,9 @@ main (int argc,
message = dbus_message_new (DBUS_SERVICE_DBUS,
DBUS_MESSAGE_HELLO);
- dbus_message_append_fields (message,
- DBUS_TYPE_STRING, "test",
- 0);
+ dbus_message_append_args (message,
+ DBUS_TYPE_STRING, "test",
+ 0);
handler = dbus_message_handler_new (message_handler, NULL, NULL);
dbus_connection_add_filter (connection, handler);