diff options
Diffstat (limited to 'dbus/dbus-timeout.c')
-rw-r--r-- | dbus/dbus-timeout.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-timeout.c b/dbus/dbus-timeout.c index b15089db..bd740963 100644 --- a/dbus/dbus-timeout.c +++ b/dbus/dbus-timeout.c @@ -86,11 +86,14 @@ _dbus_timeout_new (int interval, * Increments the reference count of a DBusTimeout object. * * @param timeout the timeout object. + * @returns the timeout object. */ -void +DBusTimeout * _dbus_timeout_ref (DBusTimeout *timeout) { timeout->refcount += 1; + + return timeout; } /** |