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-watch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dbus/dbus-watch.c') diff --git a/dbus/dbus-watch.c b/dbus/dbus-watch.c index f212090a..7171dd6d 100644 --- a/dbus/dbus-watch.c +++ b/dbus/dbus-watch.c @@ -97,11 +97,14 @@ _dbus_watch_new (int fd, * Increments the reference count of a DBusWatch object. * * @param watch the watch object. + * @returns the watch object. */ -void +DBusWatch * _dbus_watch_ref (DBusWatch *watch) { watch->refcount += 1; + + return watch; } /** -- cgit