libnm,core: fix syntax of 'transfer' annotation

This commit is contained in:
Beniamino Galvani 2016-02-24 17:12:39 +01:00
parent 36573225b6
commit 22b3494de6
5 changed files with 7 additions and 7 deletions

View file

@ -2326,7 +2326,7 @@ nm_device_reapply_finish (NMDevice *device,
* *
* Fetch the currently applied connection on the 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. * or %NULL on error.
* *
* Since: 1.2 * 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(). * 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. * of error.
* *
* Since: 1.2 * Since: 1.2

View 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 * any whitespace after the colon, so "interface-name: X" matches an interface
* named " X". * named " X".
* *
* Returns: (transfer-full): the list of device specs. * Returns: (transfer full): the list of device specs.
*/ */
GSList * GSList *
nm_match_spec_split (const char *value) 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 * 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(). * 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 * split again with nm_match_spec_split(). Note that
* nm_match_spec_split (nm_match_spec_join (specs)) yields the original * 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 * result (which is not true the other way around because there are multiple

View file

@ -323,7 +323,7 @@ _nm_config_data_get_keyfile_user (const NMConfigData *self)
* nm_config_data_get_groups: * nm_config_data_get_groups:
* @self: the #NMConfigData instance * @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 * of the section is undefined, as the configuration gets merged from multiple
* sources. * sources.
*/ */

View file

@ -108,7 +108,7 @@ _values_data_get_data (ValuesData *values_data,
* @out_len: (allow-none): output the number of values * @out_len: (allow-none): output the number of values
* that are returned. * 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. * or a %NULL terminated array of pointers.
*/ */
void *const* void *const*

View file

@ -116,7 +116,7 @@ _sup_iface_last_ref (gpointer data,
* get the manager to release it, is by dropping all other references * get the manager to release it, is by dropping all other references
* to the supplicant-interface (or destroying the manager). * 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. * Must be unrefed at the end.
* */ * */
NMSupplicantInterface * NMSupplicantInterface *