summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-connection.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2003-08-02 03:39:35 +0000
committerHavoc Pennington <hp@redhat.com>2003-08-02 03:39:35 +0000
commit9c5d01f0fe1ba855c0f7518c4f27d75a609b8faa (patch)
tree02f260d9e19bbf2d3ec7fe5567ba10cd62bd4ad1 /dbus/dbus-connection.c
parentfe195a911d86d0a71349988360de65cfac1b3f86 (diff)
2003-08-01 Havoc Pennington <hp@pobox.com>
* dbus/dbus-object-registry.c (_dbus_object_registry_handle_and_unlock): implement * dbus/dbus-message.c (dbus_message_get_type): new function * doc/dbus-specification.sgml: add "type" byte to messages
Diffstat (limited to 'dbus/dbus-connection.c')
-rw-r--r--dbus/dbus-connection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c
index 4b72d600..ced50bd1 100644
--- a/dbus/dbus-connection.c
+++ b/dbus/dbus-connection.c
@@ -722,7 +722,7 @@ _dbus_connection_new_for_transport (DBusTransport *transport)
if (io_path_cond == NULL)
goto error;
- disconnect_message = dbus_message_new (DBUS_MESSAGE_LOCAL_DISCONNECT, NULL);
+ disconnect_message = dbus_message_new_signal (DBUS_MESSAGE_LOCAL_DISCONNECT);
if (disconnect_message == NULL)
goto error;
@@ -1615,8 +1615,8 @@ dbus_connection_send_with_reply (DBusConnection *connection,
dbus_message_handler_ref (reply_handler);
- reply = dbus_message_new_error_reply (message, DBUS_ERROR_NO_REPLY,
- "No reply within specified time");
+ reply = dbus_message_new_error (message, DBUS_ERROR_NO_REPLY,
+ "No reply within specified time");
if (!reply)
{
CONNECTION_UNLOCK (connection);