libnm-core: fix GObject introspection transfer annotations

This commit is contained in:
Jiří Klimeš 2016-08-10 22:14:31 +02:00
parent ac67771bc1
commit 3a50a46fb9
2 changed files with 4 additions and 4 deletions

View file

@ -119,7 +119,7 @@ _private_get (NMVpnEditorPlugin *plugin, gboolean create)
* nm_vpn_editor_plugin_get_plugin_info:
* @plugin: the #NMVpnEditorPlugin instance
*
* Returns: (transfer-none): if set, return the #NMVpnPluginInfo instance.
* Returns: (transfer none): if set, return the #NMVpnPluginInfo instance.
*
* Since: 1.4
*/
@ -139,7 +139,7 @@ nm_vpn_editor_plugin_get_plugin_info (NMVpnEditorPlugin *plugin)
* @plugin: the #NMVpnEditorPlugin instance
* @plugin_info: (allow-none): a #NMVpnPluginInfo instance or %NULL
*
* Returns: (transfer-none): set or clear the plugin-info instance.
* Returns: (transfer none): set or clear the plugin-info instance.
* This takes a weak reference on @plugin_info, to avoid circular
* reference as the plugin-info might also reference the editor-plugin.
*

View file

@ -637,7 +637,7 @@ static const char *known_names[] = {
* (or an alias). It doesn't say, that such an plugin is actually available,
* but it could be retrieved via nm_vpn_plugin_info_list_find_by_service().
*
* Returns: (transfer-full): the resolved service-type or %NULL on failure.
* Returns: (transfer full): the resolved service-type or %NULL on failure.
*
* Since: 1.4
*/
@ -707,7 +707,7 @@ _service_type_get_default_abbreviation (const char *service_type)
* Otherwise, this also includes abbreviated names that can be used
* with nm_vpn_plugin_info_list_find_service_type().
*
* Returns: (transfer-full): a %NULL terminated strv list of strings.
* Returns: (transfer full): a %NULL terminated strv list of strings.
* The list itself and the values must be freed with g_strfreev().
*
* Since: 1.4