From 9f1a60dbba69844c0a04b3dd86280352736187ce Mon Sep 17 00:00:00 2001 From: Mikael Hallendal Date: Thu, 27 Nov 2003 01:25:50 +0000 Subject: 2003-11-26 Mikael Hallendal * bus/*.[ch]: * dbus/*.[ch]: * glib/*.[ch]: Made ref functions return the pointer --- dbus/dbus-transport.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dbus/dbus-transport.c') diff --git a/dbus/dbus-transport.c b/dbus/dbus-transport.c index b58073f6..40fc98d0 100644 --- a/dbus/dbus-transport.c +++ b/dbus/dbus-transport.c @@ -365,13 +365,16 @@ _dbus_transport_open (const char *address, * Increments the reference count for the transport. * * @param transport the transport. + * @returns the transport. */ -void +DBusTransport * _dbus_transport_ref (DBusTransport *transport) { _dbus_assert (transport->refcount > 0); transport->refcount += 1; + + return transport; } /** -- cgit