Refer to dbus_try_get_local_machine_id() in doc-comments
authorSimon McVittie <smcv@collabora.com>
Thu, 8 Jun 2017 17:34:33 +0000 (18:34 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 8 Jun 2017 17:34:40 +0000 (18:34 +0100)
Signed-off-by: Simon McVittie <smcv@collabora.com>
dbus/dbus-bus.c
dbus/dbus-connection.c

index b96b1b2..1adeca7 100644 (file)
@@ -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
index f42dac4..f3a18dd 100644 (file)
@@ -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.