From: Simon McVittie Date: Thu, 8 Jun 2017 17:34:33 +0000 (+0100) Subject: Refer to dbus_try_get_local_machine_id() in doc-comments X-Git-Tag: dbus-1.11.14~30 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa3e40cb2197d9f8b27cba354dba5efe6ce8ece9;p=thirdparty%2Fdbus.git Refer to dbus_try_get_local_machine_id() in doc-comments Signed-off-by: Simon McVittie --- diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c index b96b1b2d5..1adeca77d 100644 --- a/dbus/dbus-bus.c +++ b/dbus/dbus-bus.c @@ -933,7 +933,7 @@ dbus_bus_get_unix_user (DBusConnection *connection, * probably the bus ID is not useful; instead, use the machine ID * since it's accessible without necessarily connecting to the bus and * may be persistent beyond a single bus instance (across reboots for - * example). See dbus_get_local_machine_id(). + * example). See dbus_try_get_local_machine_id(). * * In addition to an ID for each bus and an ID for each machine, there is * an ID for each address that the bus is listening on; that can diff --git a/dbus/dbus-connection.c b/dbus/dbus-connection.c index f42dac468..f3a18dd7d 100644 --- a/dbus/dbus-connection.c +++ b/dbus/dbus-connection.c @@ -3057,7 +3057,7 @@ dbus_connection_get_is_anonymous (DBusConnection *connection) * dbus_bus_get_id() instead (which is just a convenience wrapper * around the org.freedesktop.DBus.GetId method invoked on the bus). * - * You can also get a machine ID; see dbus_get_local_machine_id() to + * You can also get a machine ID; see dbus_try_get_local_machine_id() to * get the machine you are on. There isn't a convenience wrapper, but * you can invoke org.freedesktop.DBus.Peer.GetMachineId on any peer * to get the machine ID on the other end.