From afa4ffbd852686633086569cd34942917c5c49af Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 21 Oct 2006 17:08:08 +0000 Subject: 2006-10-21 Havoc Pennington * dbus/dbus-message.h: put #ifndef DBUS_DISABLE_DEPRECATED around dbus_message_iter_get_array_len(). * throughout: documentation improvements. --- dbus/dbus-connection.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'dbus/dbus-connection.c') diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index 69afd100..81c7cadf 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -2940,16 +2940,19 @@ _dbus_connection_send_unlocked_no_update (DBusConnection *connection, * The function will never fail for other reasons; even if the * connection is disconnected, you can queue an outgoing message, * though obviously it won't be sent. + * + * The message serial is used by the remote application to send a + * reply; see dbus_message_get_serial() or the D-Bus specification. * * @param connection the connection. * @param message the message to write. - * @param client_serial return location for client serial. + * @param serial return location for message serial, or #NULL if you don't care * @returns #TRUE on success. */ dbus_bool_t dbus_connection_send (DBusConnection *connection, DBusMessage *message, - dbus_uint32_t *client_serial) + dbus_uint32_t *serial) { _dbus_return_val_if_fail (connection != NULL, FALSE); _dbus_return_val_if_fail (message != NULL, FALSE); @@ -2958,7 +2961,7 @@ dbus_connection_send (DBusConnection *connection, return _dbus_connection_send_and_unlock (connection, message, - client_serial); + serial); } static dbus_bool_t -- cgit