summaryrefslogtreecommitdiff
path: root/libnm-glib
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2014-05-22 09:06:46 -0500
committerDan Williams <dcbw@redhat.com>2014-05-22 09:07:57 -0500
commit2af30e813a4024965a52d034578d68e6c351b88f (patch)
tree5f35bd7895cc246a548b138ff8cff9d3f8775747 /libnm-glib
parent5aefa120f8e3e82d2519a6069073e8ce415406f1 (diff)
downloadNetworkManager-2af30e813a4024965a52d034578d68e6c351b88f.tar.gz
docs: clarify some uses of nm_active_connection_get_connection()
Diffstat (limited to 'libnm-glib')
-rw-r--r--libnm-glib/nm-active-connection.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libnm-glib/nm-active-connection.c b/libnm-glib/nm-active-connection.c
index fc4425f1e9..bca21b4d64 100644
--- a/libnm-glib/nm-active-connection.c
+++ b/libnm-glib/nm-active-connection.c
@@ -209,10 +209,13 @@ _nm_active_connection_type_for_path_async (DBusGConnection *connection,
* nm_active_connection_get_connection:
* @connection: a #NMActiveConnection
*
- * Gets the #NMConnection's DBus object path.
+ * Gets the #NMConnection's DBus object path. This is often used with
+ * nm_remote_settings_get_connection_by_path() to retrieve the
+ * #NMRemoteConnection object that describes the connection.
*
- * Returns: the object path of the #NMConnection inside of #NMActiveConnection.
- * This is the internal string used by the connection, and must not be modified.
+ * Returns: the object path of the #NMConnection which this #NMActiveConnection
+ * is an active instance of. This is the internal string used by the
+ * connection, and must not be modified.
**/
const char *
nm_active_connection_get_connection (NMActiveConnection *connection)