From 8a56c704ebeb6c433723f1d9a8db13ea06300022 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Tue, 2 Aug 2005 11:26:59 +0000 Subject: Small docu update --- dbus/dbus-bus.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit