summaryrefslogtreecommitdiffstats
path: root/bus/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/connection.c')
-rw-r--r--bus/connection.c4
1 files changed, 3 insertions, 1 deletions
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