summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-01-07 20:18:23 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-01-07 20:18:23 +0000
commit1b53cbcce333381754b0568b740ece550a8f6ac9 (patch)
treeda5534fdd15eb6526d4bc362b556843835bf1d72 /test
parent49686ee969ee377c19f82be12dd03b538bbd2871 (diff)
2003-01-07 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-connection-internal.h: * dbus/dbus-connection.c: (_dbus_connection_new_for_transport), (_dbus_connection_get_next_client_serial), (dbus_connection_send_message): * dbus/dbus-internals.h: * dbus/dbus-marshal.c: (unpack_uint32), (dbus_unpack_int32), (dbus_pack_int32), (_dbus_marshal_double), (_dbus_marshal_int32), (_dbus_marshal_uint32), (_dbus_demarshal_double), (_dbus_demarshal_int32), (_dbus_demarshal_uint32), (_dbus_demarshal_string), (_dbus_marshal_get_field_end_pos), (_dbus_verbose_bytes), (_dbus_marshal_test): * dbus/dbus-marshal.h: * dbus/dbus-message-internal.h: * dbus/dbus-message.c: (_dbus_message_set_client_serial), (dbus_message_write_header), (_dbus_message_lock), (dbus_message_new), (dbus_message_ref), (dbus_message_unref), (dbus_message_get_name), (dbus_message_append_int32), (dbus_message_append_uint32), (dbus_message_append_double), (dbus_message_append_string), (dbus_message_append_byte_array), (dbus_message_get_fields_iter), (dbus_message_iter_ref), (dbus_message_iter_unref), (dbus_message_iter_has_next), (dbus_message_iter_next), (dbus_message_iter_get_field_type), (dbus_message_iter_get_string), (dbus_message_iter_get_int32), (dbus_message_iter_get_uint32), (dbus_message_iter_get_double), (decode_header_data), (_dbus_message_loader_return_buffer), (message_iter_test), (_dbus_message_test): * dbus/dbus-message.h: * dbus/dbus-protocol.h: * dbus/dbus-test.c: (main): * dbus/dbus-test.h: * glib/test-dbus-glib.c: (message_handler), (main): * test/echo-client.c: (main): * test/watch.c: (check_messages): Make messages sendable and receivable for real.
Diffstat (limited to 'test')
-rw-r--r--test/echo-client.c2
-rw-r--r--test/watch.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/echo-client.c b/test/echo-client.c
index 5c6ee425..fe2fa713 100644
--- a/test/echo-client.c
+++ b/test/echo-client.c
@@ -27,7 +27,7 @@ main (int argc,
setup_connection (connection);
/* Send a message to get things going */
- message = dbus_message_new ();
+ message = dbus_message_new ("org.freedesktop.DBus.Test", "org.freedesktop.DBus.Test");
dbus_connection_send_message (connection,
message,
NULL);
diff --git a/test/watch.c b/test/watch.c
index 4387a9d6..f9b8b8d9 100644
--- a/test/watch.c
+++ b/test/watch.c
@@ -148,7 +148,7 @@ check_messages (void)
printf ("Received message %d, sending reply\n", count);
- reply = dbus_message_new ();
+ reply = dbus_message_new ("org.freedesktop.DBus.Test", "org.freedesktop.DBus.Test");
dbus_connection_send_message (connection,
reply,
NULL);