From f32032694faacc300f2a700599e6b152cbfb1efe Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 5 Jan 2012 13:34:58 -0500 Subject: [PATCH] libnm-glib: implement NMActiveConnection uuid property This property existed as a #define and a get method, but the actual GObject property itself was accidentally never implemented. --- libnm-glib/nm-active-connection.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/libnm-glib/nm-active-connection.c b/libnm-glib/nm-active-connection.c index ddde4cc6c2..55c50c970f 100644 --- a/libnm-glib/nm-active-connection.c +++ b/libnm-glib/nm-active-connection.c @@ -371,6 +371,9 @@ get_property (GObject *object, case PROP_CONNECTION: g_value_set_string (value, nm_active_connection_get_connection (self)); break; + case PROP_UUID: + g_value_set_string (value, nm_active_connection_get_uuid (self)); + break; case PROP_SPECIFIC_OBJECT: g_value_set_boxed (value, nm_active_connection_get_specific_object (self)); break; @@ -482,6 +485,19 @@ nm_active_connection_class_init (NMActiveConnectionClass *ap_class) NULL, G_PARAM_READABLE)); + /** + * NMActiveConnection:uuid: + * + * The active connection's UUID + **/ + g_object_class_install_property + (object_class, PROP_UUID, + g_param_spec_string (NM_ACTIVE_CONNECTION_UUID, + "UUID", + "UUID", + NULL, + G_PARAM_READABLE)); + /** * NMActiveConnection:specific-object: *