diff options
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; } /** |