diff options
author | Mikael Hallendal <micke@imendio.com> | 2003-11-27 01:25:50 +0000 |
---|---|---|
committer | Mikael Hallendal <micke@imendio.com> | 2003-11-27 01:25:50 +0000 |
commit | 9f1a60dbba69844c0a04b3dd86280352736187ce (patch) | |
tree | b50747f9d3b395ba92bd37109504626813f03802 /dbus/dbus-transport.c | |
parent | 6d9f72b9e651d90fcbd191b43b5e91ba7bd63789 (diff) |
2003-11-26 Mikael Hallendal <micke@imendio.com>
* bus/*.[ch]:
* dbus/*.[ch]:
* glib/*.[ch]: Made ref functions return the pointer
Diffstat (limited to 'dbus/dbus-transport.c')
-rw-r--r-- | dbus/dbus-transport.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } /** |