diff --git a/libnm-core/nm-connection.c b/libnm-core/nm-connection.c index 0c4d7ce18c..fdeb990a8d 100644 --- a/libnm-core/nm-connection.c +++ b/libnm-core/nm-connection.c @@ -1778,7 +1778,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 482cbbe2b9..a6c41ba4f0 100644 --- a/libnm-core/nm-setting-8021x.c +++ b/libnm-core/nm-setting-8021x.c @@ -445,7 +445,7 @@ get_cert_scheme (GBytes *bytes, GError **error) * 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 c7f8c55557..9f8685b3d7 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 a921f51fed..34647a2e10 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-utils.c b/libnm-core/nm-utils.c index 950418b970..38222d04d6 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -3106,7 +3106,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 2af9432fee..26e0d38c17 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 4bf3a404e3..d496139962 100644 --- a/libnm/nm-device.c +++ b/libnm/nm-device.c @@ -2050,7 +2050,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 @@ -2184,7 +2184,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 623742d684..5b7428560e 100644 --- a/src/nm-ip4-config.c +++ b/src/nm-ip4-config.c @@ -2236,7 +2236,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 1d789a342e..e542f2cc72 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 227168ba98..a74624e476 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -2709,7 +2709,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 @@ -3946,7 +3946,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 50e6825bf9..ab63b560bc 100644 --- a/src/platform/nmp-object.c +++ b/src/platform/nmp-object.c @@ -2097,10 +2097,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 5bb629dca2..cfcbfa091c 100644 --- a/src/settings/nm-settings.c +++ b/src/settings/nm-settings.c @@ -368,7 +368,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 c196084638..1fe66b8e4e 100644 --- a/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c +++ b/src/settings/plugins/ifcfg-rh/nms-ifcfg-rh-reader.c @@ -584,7 +584,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.