diff --git a/libnm-util/nm-connection.c b/libnm-util/nm-connection.c index d59c8b4797..6a10128c24 100644 --- a/libnm-util/nm-connection.c +++ b/libnm-util/nm-connection.c @@ -975,8 +975,8 @@ nm_connection_clear_secrets (NMConnection *connection) /** * nm_connection_clear_secrets_with_flags: * @connection: the #NMConnection - * @func: function to be called to determine whether a specific secret should be - * cleared or not + * @func: (scope call): function to be called to determine whether a + * specific secret should be cleared or not * @user_data: caller-supplied data passed to @func * * Clears and frees secrets determined by @func. diff --git a/libnm-util/nm-setting.c b/libnm-util/nm-setting.c index 7ec4278fee..2b3bdc58d7 100644 --- a/libnm-util/nm-setting.c +++ b/libnm-util/nm-setting.c @@ -308,8 +308,8 @@ nm_setting_get_name (NMSetting *setting) /** * nm_setting_verify: * @setting: the #NMSetting to verify - * @all_settings: a #GSList of all settings in the connection from which @setting - * came + * @all_settings: (element-type NMSetting): a #GSList of all settings + * in the connection from which @setting came * @error: location to store error, or %NULL * * Validates the setting. Each setting's properties have allowed values, and @@ -670,8 +670,8 @@ clear_secrets_with_flags (NMSetting *setting, /** * nm_setting_clear_secrets_with_flags: * @setting: the #NMSetting - * @func: function to be called to determine whether a specific secret should be - * cleared or not + * @func: (scope call): function to be called to determine whether a + * specific secret should be cleared or not * @user_data: caller-supplied data passed to @func * * Clears and frees secrets determined by @func. diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index d8bcf34915..9d4418e45f 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -490,7 +490,7 @@ nm_utils_gvalue_hash_dup (GHashTable *hash) } /** - * nm_utils_slist_free: + * nm_utils_slist_free: (skip) * @list: a #GSList * @elem_destroy_fn: user function called for each element in @list * @@ -1373,7 +1373,7 @@ nm_utils_ip4_addresses_from_gvalue (const GValue *value) /** * nm_utils_ip4_addresses_to_gvalue: - * @list: a list of #NMIP4Address objects + * @list: (element-type NMIP4Address): a list of #NMIP4Address objects * @value: a pointer to a #GValue into which to place the converted addresses, * which should be unset by the caller (when no longer needed) with * g_value_unset(). @@ -1456,7 +1456,7 @@ nm_utils_ip4_routes_from_gvalue (const GValue *value) /** * nm_utils_ip4_routes_to_gvalue: - * @list: a list of #NMIP4Route objects + * @list: (element-type NMIP4Route): a list of #NMIP4Route objects * @value: a pointer to a #GValue into which to place the converted routes, * which should be unset by the caller (when no longer needed) with * g_value_unset(). @@ -1664,7 +1664,7 @@ nm_utils_ip6_addresses_from_gvalue (const GValue *value) /** * nm_utils_ip6_addresses_to_gvalue: - * @list: a list of #NMIP6Address objects + * @list: (element-type NMIP6Address): a list of #NMIP6Address objects * @value: a pointer to a #GValue into which to place the converted addresses, * which should be unset by the caller (when no longer needed) with * g_value_unset(). @@ -1786,7 +1786,7 @@ nm_utils_ip6_routes_from_gvalue (const GValue *value) /** * nm_utils_ip6_routes_to_gvalue: - * @list: a list of #NMIP6Route objects + * @list: (element-type NMIP6Route): a list of #NMIP6Route objects * @value: a pointer to a #GValue into which to place the converted routes, * which should be unset by the caller (when no longer needed) with * g_value_unset().