summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-06-08 18:34:33 +0100
committerSimon McVittie <smcv@collabora.com>2017-06-08 18:34:40 +0100
commitaa3e40cb2197d9f8b27cba354dba5efe6ce8ece9 (patch)
tree8f401924f452b4d14d15d157d782a200cdd16fed
parent22bdf2365efb5daddb3ed6a7f9851ba8284f8695 (diff)
downloaddbus-aa3e40cb2197d9f8b27cba354dba5efe6ce8ece9.tar.gz
Refer to dbus_try_get_local_machine_id() in doc-comments
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--dbus/dbus-bus.c2
-rw-r--r--dbus/dbus-connection.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index b96b1b2d..1adeca77 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 f42dac46..f3a18dd7 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.