summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2016-02-24 17:12:39 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2016-02-24 17:23:01 +0100
commit22b3494de67e475ca9d0b216419cd9f483fd2939 (patch)
treef79f711fdeec9be27cb8e619fcb36739250b6100
parent36573225b65413084a945baf368f19c89464404b (diff)
downloadNetworkManager-22b3494de67e475ca9d0b216419cd9f483fd2939.tar.gz
libnm,core: fix syntax of 'transfer' annotation
-rw-r--r--libnm/nm-device.c4
-rw-r--r--src/NetworkManagerUtils.c4
-rw-r--r--src/nm-config-data.c2
-rw-r--r--src/nm-multi-index.c2
-rw-r--r--src/supplicant-manager/nm-supplicant-manager.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/libnm/nm-device.c b/libnm/nm-device.c
index 53f42f82b2..fa32b4c76f 100644
--- a/libnm/nm-device.c
+++ b/libnm/nm-device.c
@@ -2326,7 +2326,7 @@ nm_device_reapply_finish (NMDevice *device,
*
* Fetch the currently applied connection on the device.
*
- * Returns: (transfer-full): a %NMConnection with the currently applied settings
+ * Returns: (transfer full): a %NMConnection with the currently applied settings
* or %NULL on error.
*
* Since: 1.2
@@ -2454,7 +2454,7 @@ nm_device_get_applied_connection_async (NMDevice *device,
*
* Gets the result of a call to nm_device_get_applied_connection_async().
*
- * Returns: (transfer-full): a currently applied %NMConnection or %NULL in case
+ * Returns: (transfer full): a currently applied %NMConnection or %NULL in case
* of error.
*
* Since: 1.2
diff --git a/src/NetworkManagerUtils.c b/src/NetworkManagerUtils.c
index 5379c54038..695597a031 100644
--- a/src/NetworkManagerUtils.c
+++ b/src/NetworkManagerUtils.c
@@ -1558,7 +1558,7 @@ nm_match_spec_match_config (const GSList *specs, guint cur_nm_version, const cha
* any whitespace after the colon, so "interface-name: X" matches an interface
* named " X".
*
- * Returns: (transfer-full): the list of device specs.
+ * Returns: (transfer full): the list of device specs.
*/
GSList *
nm_match_spec_split (const char *value)
@@ -1653,7 +1653,7 @@ nm_match_spec_split (const char *value)
* This is based on g_key_file_parse_string_as_value(), analog to
* nm_match_spec_split() which is based on g_key_file_parse_value_as_string().
*
- * Returns: (transfer-full): a joined list of device specs that can be
+ * Returns: (transfer full): a joined list of device specs that can be
* split again with nm_match_spec_split(). Note that
* nm_match_spec_split (nm_match_spec_join (specs)) yields the original
* result (which is not true the other way around because there are multiple
diff --git a/src/nm-config-data.c b/src/nm-config-data.c
index 21f8f3ad32..1702b551cd 100644
--- a/src/nm-config-data.c
+++ b/src/nm-config-data.c
@@ -323,7 +323,7 @@ _nm_config_data_get_keyfile_user (const NMConfigData *self)
* nm_config_data_get_groups:
* @self: the #NMConfigData instance
*
- * Returns: (transfer-full): the list of groups in the configuration. The order
+ * Returns: (transfer full): the list of groups in the configuration. The order
* of the section is undefined, as the configuration gets merged from multiple
* sources.
*/
diff --git a/src/nm-multi-index.c b/src/nm-multi-index.c
index 6a22875336..6ae54a989b 100644
--- a/src/nm-multi-index.c
+++ b/src/nm-multi-index.c
@@ -108,7 +108,7 @@ _values_data_get_data (ValuesData *values_data,
* @out_len: (allow-none): output the number of values
* that are returned.
*
- * Returns: (transfer-none): %NULL if there are no values
+ * Returns: (transfer none): %NULL if there are no values
* or a %NULL terminated array of pointers.
*/
void *const*
diff --git a/src/supplicant-manager/nm-supplicant-manager.c b/src/supplicant-manager/nm-supplicant-manager.c
index 9614c8ddd5..1b352527c7 100644
--- a/src/supplicant-manager/nm-supplicant-manager.c
+++ b/src/supplicant-manager/nm-supplicant-manager.c
@@ -116,7 +116,7 @@ _sup_iface_last_ref (gpointer data,
* get the manager to release it, is by dropping all other references
* to the supplicant-interface (or destroying the manager).
*
- * Retruns: (transfer-full): returns a #NMSupplicantInterface or %NULL.
+ * Returns: (transfer full): returns a #NMSupplicantInterface or %NULL.
* Must be unrefed at the end.
* */
NMSupplicantInterface *