summaryrefslogtreecommitdiff
path: root/src/nm-active-connection.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-03-05 21:11:54 +0100
committerThomas Haller <thaller@redhat.com>2014-03-05 21:15:20 +0100
commitb69f624c986ccf80da660c6d73748ff6e3c7ba3e (patch)
treebc57c07d432d708e1f2fa55295c937dee37aa588 /src/nm-active-connection.c
parent950cb2c44f2dbc3e098af4fff2a3ccd6908d58f0 (diff)
downloadNetworkManager-b69f624c986ccf80da660c6d73748ff6e3c7ba3e.tar.gz
core: implement function nm_active_connection_get_uuid()
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r--src/nm-active-connection.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index 7e3b1a60b1..43f81893e3 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -183,6 +183,14 @@ nm_active_connection_get_id (NMActiveConnection *self)
return nm_connection_get_id (NM_ACTIVE_CONNECTION_GET_PRIVATE (self)->connection);
}
+const char *
+nm_active_connection_get_uuid (NMActiveConnection *self)
+{
+ g_return_val_if_fail (NM_IS_ACTIVE_CONNECTION (self), NULL);
+
+ return nm_connection_get_uuid (NM_ACTIVE_CONNECTION_GET_PRIVATE (self)->connection);
+}
+
NMConnection *
nm_active_connection_get_connection (NMActiveConnection *self)
{