From aa4b4ef5955606659557a40a2220090ee9c108d4 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Thu, 13 Feb 2003 21:21:42 +0000 Subject: 2003-02-13 Anders Carlsson * 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. --- test/bus-test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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); -- cgit v1.2.1