diff --git a/libnm-core/nm-connection.c b/libnm-core/nm-connection.c index 5f406cc64a..ee6950e6e6 100644 --- a/libnm-core/nm-connection.c +++ b/libnm-core/nm-connection.c @@ -1939,7 +1939,7 @@ _for_each_sort (NMSetting **p_a, NMSetting **p_b, void *unused) /** * nm_connection_get_settings: * @connection: the #NMConnection instance - * @out_length: (allow-none): (out): the length of the returned array + * @out_length: (allow-none) (out): the length of the returned array * * Retrieves the settings in @connection. * diff --git a/libnm-core/nm-setting-8021x.c b/libnm-core/nm-setting-8021x.c index 7e004c903b..4af49151cb 100644 --- a/libnm-core/nm-setting-8021x.c +++ b/libnm-core/nm-setting-8021x.c @@ -202,7 +202,7 @@ G_DEFINE_TYPE (NMSetting8021x, nm_setting_802_1x, NM_TYPE_SETTING) * nm_setting_802_1x_check_cert_scheme: * @pdata: (allow-none): the data pointer * @length: the length of the data - * @error: (allow-none): (out): validation reason + * @error: (allow-none) (out): validation reason * * Determines and verifies the blob type. * When setting certificate properties of NMSetting8021x diff --git a/libnm-core/nm-setting-ip-config.c b/libnm-core/nm-setting-ip-config.c index 2b3134b666..86fac0230c 100644 --- a/libnm-core/nm-setting-ip-config.c +++ b/libnm-core/nm-setting-ip-config.c @@ -1123,7 +1123,7 @@ _nm_ip_route_get_attributes_direct (NMIPRoute *route) * @route: the #NMIPRoute * @sorted: whether to sort the names. Otherwise, their order is * undefined and unstable. - * @out_length: (allow-none): (out): the number of elements + * @out_length: (allow-none) (out): the number of elements * * Gets an array of attribute names defined on @route. * diff --git a/libnm-core/nm-setting-vpn.c b/libnm-core/nm-setting-vpn.c index fcbeec6854..c06e6eb601 100644 --- a/libnm-core/nm-setting-vpn.c +++ b/libnm-core/nm-setting-vpn.c @@ -218,7 +218,7 @@ nm_setting_vpn_get_data_item (NMSettingVpn *setting, const char *key) /** * nm_setting_vpn_get_data_keys: * @setting: the #NMSettingVpn - * @out_length: (allow-none): (out): the length of the returned array + * @out_length: (allow-none) (out): the length of the returned array * * Retrieves every data key inside @setting, as an array. * @@ -395,7 +395,7 @@ nm_setting_vpn_get_secret (NMSettingVpn *setting, const char *key) /** * nm_setting_vpn_get_secret_keys: * @setting: the #NMSettingVpn - * @out_length: (allow-none): (out): the length of the returned array + * @out_length: (allow-none) (out): the length of the returned array * * Retrieves every secret key inside @setting, as an array. * diff --git a/libnm-core/nm-setting.c b/libnm-core/nm-setting.c index 047391cee2..ef9ba804d6 100644 --- a/libnm-core/nm-setting.c +++ b/libnm-core/nm-setting.c @@ -2185,7 +2185,7 @@ out_zero: /** * nm_setting_gendata_get_all_names: * @setting: the #NMSetting - * @out_len: (allow-none): (out): + * @out_len: (allow-none) (out): * * Gives the number of generic data elements and optionally returns all their * key names and values. This API is low level access and unless you know what you diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index f75276c784..744772a15c 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -3243,7 +3243,7 @@ _nm_utils_check_module_file (const char *name, * @predicate: (scope call): if given, pass the file name to this function * for additional checks. This check is performed after the check for * @file_test_flags. You cannot omit both @file_test_flags and @predicate. - * @user_data: (closure): (allow-none): user data for @predicate function. + * @user_data: (closure) (allow-none): user data for @predicate function. * @error: (allow-none): on failure, set a "not found" error %G_IO_ERROR %G_IO_ERROR_NOT_FOUND. * * Searches for a @progname file in a list of search @paths. diff --git a/libnm-core/nm-vpn-plugin-info.c b/libnm-core/nm-vpn-plugin-info.c index 7954227963..7e47197532 100644 --- a/libnm-core/nm-vpn-plugin-info.c +++ b/libnm-core/nm-vpn-plugin-info.c @@ -148,7 +148,7 @@ nm_vpn_plugin_info_check_file_full (const char *filename, * other users. * @check_file: pass a callback to do your own validation. * @user_data: user data for @check_file. - * @error: (allow-none): (out): the error reason if the check fails. + * @error: (allow-none) (out): the error reason if the check fails. * * Check whether the file exists and is a valid name file (in keyfile format). * Additionally, also check for file permissions. diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index 054d69f4c1..b4163d6526 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -1736,7 +1736,7 @@ nm_utils_file_is_pkcs12 (const char *filename) * @predicate: (scope call): if given, pass the file name to this function * for additional checks. This check is performed after the check for * @file_test_flags. You cannot omit both @file_test_flags and @predicate. - * @user_data: (closure): (allow-none): user data for @predicate function. + * @user_data: (closure) (allow-none): user data for @predicate function. * @error: (allow-none): on failure, set a "not found" error %G_IO_ERROR %G_IO_ERROR_NOT_FOUND. * * Searches for a @progname file in a list of search @paths. diff --git a/libnm/nm-device.c b/libnm/nm-device.c index 3f1cc6363d..6fa0302f06 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2059,7 +2059,7 @@ nm_device_reapply_finish (NMDevice *device, * nm_device_get_applied_connection: * @device: a #NMDevice * @flags: the flags argument. Currently this value must always be zero. - * @version_id: (out): (allow-none): returns the current version id of + * @version_id: (out) (allow-none): returns the current version id of * the applied connection * @cancellable: a #GCancellable, or %NULL * @error: location for a #GError, or %NULL @@ -2193,7 +2193,7 @@ nm_device_get_applied_connection_async (NMDevice *device, * nm_device_get_applied_connection_finish: * @device: a #NMDevice * @result: the result passed to the #GAsyncReadyCallback - * @version_id: (out): (allow-none): the current version id of the applied + * @version_id: (out) (allow-none): the current version id of the applied * connection. * @error: location for a #GError, or %NULL * diff --git a/src/nm-ip4-config.c b/src/nm-ip4-config.c index ce7f7fc4c2..10a1a435eb 100644 --- a/src/nm-ip4-config.c +++ b/src/nm-ip4-config.c @@ -2258,7 +2258,7 @@ _add_route (NMIP4Config *self, * nm_ip4_config_add_route: * @self: the #NMIP4Config * @new: the new route to add to @self - * @out_obj_new: (allow-none): (out): the added route object. Must be unrefed + * @out_obj_new: (allow-none) (out): the added route object. Must be unrefed * by caller. * * Adds the new route to @self. If a route with the same basic properties diff --git a/src/nm-ip6-config.c b/src/nm-ip6-config.c index 42240e698f..a23eb4e40a 100644 --- a/src/nm-ip6-config.c +++ b/src/nm-ip6-config.c @@ -1922,7 +1922,7 @@ _add_route (NMIP6Config *self, * nm_ip6_config_add_route: * @self: the #NMIP6Config * @new: the new route to add to @self - * @out_obj_new: (allow-none): (out): the added route object. Must be unrefed + * @out_obj_new: (allow-none) (out): the added route object. Must be unrefed * by caller. * * Adds the new route to @self. If a route with the same basic properties diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 757a0f43d8..32fc78d602 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -2859,7 +2859,7 @@ nm_platform_link_veth_get_properties (NMPlatform *self, int ifindex, int *out_pe * nm_platform_link_tun_get_properties: * @self: the #NMPlatform instance * @ifindex: the ifindex to look up - * @out_properties: (out): (allow-none): return the read properties + * @out_properties: (out) (allow-none): return the read properties * * Only recent versions of kernel export tun properties via netlink. * So, if that's the case, then we have the NMPlatformLnkTun instance @@ -4172,7 +4172,7 @@ nm_platform_ip_route_get_prune_list (NMPlatform *self, * at the end of the operation. Note that if @routes contains * the same route, then it will not be deleted. @routes overrules * @routes_prune list. - * @out_temporary_not_available: (allow-none): (out): routes that could + * @out_temporary_not_available: (allow-none) (out): routes that could * currently not be synced. The caller shall keep them and try later again. * * Returns: %TRUE on success. diff --git a/src/platform/nmp-object.c b/src/platform/nmp-object.c index f7fa6cb3cb..25af16b4d5 100644 --- a/src/platform/nmp-object.c +++ b/src/platform/nmp-object.c @@ -2331,10 +2331,10 @@ nmp_cache_remove_netlink (NMPCache *cache, * afterwards. Hence, during a dump, every update should move the object to the * end of the list, to obtain the correct order. That means, to use NM_DEDUP_MULTI_IDX_MODE_APPEND_FORCE, * instead of NM_DEDUP_MULTI_IDX_MODE_APPEND. - * @out_obj_old: (allow-none): (out): return the object with same ID as @obj_hand_over, + * @out_obj_old: (allow-none) (out): return the object with same ID as @obj_hand_over, * that was in the cache before update. If an object is returned, the caller must * unref it afterwards. - * @out_obj_new: (allow-none): (out): return the object from the cache after update. + * @out_obj_new: (allow-none) (out): return the object from the cache after update. * The caller must unref this object. * * Returns: how the cache changed. diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c index 2253d56a84..d61d7c3a76 100644 --- a/src/settings/nm-settings.c +++ b/src/settings/nm-settings.c @@ -369,7 +369,7 @@ _clear_connections_cached_list (NMSettingsPrivate *priv) /** * nm_settings_get_connections: * @self: the #NMSettings - * @out_len: (out): (allow-none): returns the number of returned + * @out_len: (out) (allow-none): returns the number of returned * connections. * * Returns: (transfer-none): a list of NMSettingsConnections. The list is diff --git a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c index 261dfea2d0..4a879db0c5 100644 --- a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c +++ b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c @@ -801,7 +801,7 @@ enum { * @options_route: (in-out): when line is from the OPTIONS setting, this is a pre-created * route object that is completed with the settings from options. Otherwise, * it shall point to %NULL and a new route is created and returned. - * @out_route: (out): (transfer-full): (allow-none): the parsed %NMIPRoute instance. + * @out_route: (out) (transfer-full) (allow-none): the parsed %NMIPRoute instance. * In case a @options_route is passed in, it returns the input route that was modified * in-place. But the caller must unref the returned route in either case. * @error: the failure description.