summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-active-connection.c
diff options
context:
space:
mode:
authorGiovanni Campagna <scampa.giovanni@gmail.com>2011-01-21 14:46:09 -0600
committerDan Williams <dcbw@redhat.com>2011-01-21 14:46:09 -0600
commit3ebecd2a295b40081321d1b3f26fb1204fe5d4c4 (patch)
treebc6c3f4cbda8086fb2d2fe7b614fe9bce1af79c8 /libnm-glib/nm-active-connection.c
parent9067356856f56a949ef8af5838e3dc4acf506256 (diff)
downloadNetworkManager-3ebecd2a295b40081321d1b3f26fb1204fe5d4c4.tar.gz
introspection: add GObject introspection support (bgo #637032)
Add the necessary annotations (the mininum required, that is those on return values. NULL parameters or container types may require more), and the Autotools stuff to get a NetworkManager GIR for libnm-util and a NMClient for libnm-glib.
Diffstat (limited to 'libnm-glib/nm-active-connection.c')
-rw-r--r--libnm-glib/nm-active-connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-glib/nm-active-connection.c b/libnm-glib/nm-active-connection.c
index f9e8adbf14..46ca12f5c0 100644
--- a/libnm-glib/nm-active-connection.c
+++ b/libnm-glib/nm-active-connection.c
@@ -149,7 +149,7 @@ nm_active_connection_get_specific_object (NMActiveConnection *connection)
*
* Gets the #NMDevice<!-- -->s used for the active connections.
*
- * Returns: the #GPtrArray containing #NMDevice<!-- -->s.
+ * Returns: (element-type NMClient.Device): the #GPtrArray containing #NMDevice<!-- -->s.
* This is the internal copy used by the connection, and must not be modified.
**/
const GPtrArray *
@@ -301,7 +301,7 @@ get_property (GObject *object,
switch (prop_id) {
case PROP_CONNECTION:
- g_value_set_boxed (value, nm_active_connection_get_connection (self));
+ g_value_set_string (value, nm_active_connection_get_connection (self));
break;
case PROP_SPECIFIC_OBJECT:
g_value_set_boxed (value, nm_active_connection_get_specific_object (self));