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 --- bus/connection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bus/connection.c') diff --git a/bus/connection.c b/bus/connection.c index 71102db1..cfd07651 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -471,11 +471,13 @@ bus_connections_new (BusContext *context) return NULL; } -void +BusConnections * bus_connections_ref (BusConnections *connections) { _dbus_assert (connections->refcount > 0); connections->refcount += 1; + + return connections; } void -- cgit