summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-transport-socket.c
diff options
context:
space:
mode:
authorWilliam Lachance <wrlach@gmail.com>2009-04-21 13:51:46 -0400
committerColin Walters <walters@verbum.org>2009-04-21 13:51:46 -0400
commit16a947eedb7f7f2951fff4ebbf301af7776aa8df (patch)
treeb3095a345c3547e36ae5015660d2b8a7655569f0 /dbus/dbus-transport-socket.c
parentce09b82ec2dd3cb1d239605f8f458e09afd70694 (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.c2
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);