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-pending-call.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-pending-call.c')
-rw-r--r-- | dbus/dbus-pending-call.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c index 590f1296..a19ed8b9 100644 --- a/dbus/dbus-pending-call.c +++ b/dbus/dbus-pending-call.c @@ -138,13 +138,16 @@ _dbus_pending_call_notify (DBusPendingCall *pending) * Increments the reference count on a pending call. * * @param pending the pending call object + * @returns the pending call object */ -void +DBusPendingCall * dbus_pending_call_ref (DBusPendingCall *pending) { _dbus_return_if_fail (pending != NULL); _dbus_atomic_inc (&pending->refcount); + + return pending; } /** |