libnm,core: fix syntax of 'transfer' annotation
authorBeniamino Galvani <bgalvani@redhat.com>
Wed, 24 Feb 2016 16:12:39 +0000 (17:12 +0100)
committerBeniamino Galvani <bgalvani@redhat.com>
Wed, 24 Feb 2016 16:23:01 +0000 (17:23 +0100)
libnm/nm-device.c
src/NetworkManagerUtils.c
src/nm-config-data.c
src/nm-multi-index.c
src/supplicant-manager/nm-supplicant-manager.c

index 53f42f8..fa32b4c 100644 (file)
@@ -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
index 5379c54..695597a 100644 (file)
@@ -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
index 21f8f3a..1702b55 100644 (file)
@@ -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.
  */
index 6a22875..6ae54a9 100644 (file)
@@ -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*
index 9614c8d..1b35252 100644 (file)
@@ -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 *