summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-watch.c
diff options
context:
space:
mode:
authorMikael Hallendal <micke@imendio.com>2003-11-27 01:25:50 +0000
committerMikael Hallendal <micke@imendio.com>2003-11-27 01:25:50 +0000
commit9f1a60dbba69844c0a04b3dd86280352736187ce (patch)
treeb50747f9d3b395ba92bd37109504626813f03802 /dbus/dbus-watch.c
parent6d9f72b9e651d90fcbd191b43b5e91ba7bd63789 (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-watch.c')
-rw-r--r--dbus/dbus-watch.c5
1 files changed, 4 insertions, 1 deletions
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;
}
/**