Commit 22b3494d authored by Beniamino Galvani's avatar Beniamino Galvani

libnm,core: fix syntax of 'transfer' annotation

parent 36573225
......@@ -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
......
......@@ -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
......
......@@ -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.
*/
......
......@@ -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*
......
......@@ -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 *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment