diff options
author | William Lachance <wrlach@gmail.com> | 2009-04-21 13:51:46 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-05-06 12:51:18 -0400 |
commit | 0cf4583b5a4772b9c2a381ce78f6e3a3afcf705d (patch) | |
tree | 7e83c8ff8e463ba79bcd6ed862668a59d0bda725 /dbus/dbus-transport-socket.c | |
parent | 86df8ad59229bc511689e0e1d431a5cf246685db (diff) |
Bug 19567 - Make marshaling code usable without DBusConnection
Some projects want to reuse the DBus message format, without
actually going through a DBusConnection. This set of changes
makes a few functions from DBusMessage public, and adds a new
function to determine the number of bytes needed to demarshal
a message.
Signed-off-by: Colin Walters <walters@verbum.org>
Diffstat (limited to 'dbus/dbus-transport-socket.c')
-rw-r--r-- | dbus/dbus-transport-socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-transport-socket.c b/dbus/dbus-transport-socket.c index 10b671c2..6d7c89cd 100644 --- a/dbus/dbus-transport-socket.c +++ b/dbus/dbus-transport-socket.c @@ -537,7 +537,7 @@ do_writing (DBusTransport *transport) message = _dbus_connection_get_message_to_send (transport->connection); _dbus_assert (message != NULL); - _dbus_message_lock (message); + dbus_message_lock (message); #if 0 _dbus_verbose ("writing message %p\n", message); |