summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaldo Bastian <bastian@kde.org>2005-08-02 11:26:59 +0000
committerWaldo Bastian <bastian@kde.org>2005-08-02 11:26:59 +0000
commit8a56c704ebeb6c433723f1d9a8db13ea06300022 (patch)
treeaa392351d99730bc572cbaf3ca5bf7fdf844b552
parentc76d24b0072dbe707889bae403668dde0fcd8f9f (diff)
Small docu update
-rw-r--r--dbus/dbus-bus.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index ad20795c..bc9ebfb1 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -526,8 +526,11 @@ dbus_bus_set_unique_name (DBusConnection *connection,
* Gets the unique name of the connection. Only possible after the
* connection has been registered with the message bus.
*
+ * The name remains valid for the duration of the connection and
+ * should not be freed by the caller.
+ *
* @param connection the connection
- * @returns the unique name
+ * @returns the unique name or NULL on error
*/
const char*
dbus_bus_get_unique_name (DBusConnection *connection)