summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-bus.c')
-rw-r--r--dbus/dbus-bus.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index a310a6cd..be296fc7 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -312,14 +312,15 @@ ensure_bus_data (DBusConnection *connection)
*/
/**
- * Connects to a bus daemon and registers the client with it.
- * If a connection to the bus already exists, then that connection is returned.
+ * Connects to a bus daemon and registers the client with it. If a
+ * connection to the bus already exists, then that connection is
+ * returned. Caller owns a reference to the bus.
*
* @todo alex thinks we should nullify the connection when we get a disconnect-message.
*
* @param type bus type
* @param error address where an error can be returned.
- * @returns a DBusConnection
+ * @returns a DBusConnection with new ref
*/
DBusConnection *
dbus_bus_get (DBusBusType type,