libnm: fix annotation for out_is_valid of nm_wireguard_peer_get_allowed_ip()

Fixes: 5d28a0dd89 ('doc: replace all (allow-none) annotations by (optional) and/or (nullable)')
This commit is contained in:
Thomas Haller 2023-04-16 16:48:39 +02:00
parent 7fa72645e5
commit 290bac0af9
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -564,7 +564,7 @@ nm_wireguard_peer_get_allowed_ips_len(const NMWireGuardPeer *self)
* @self: the #NMWireGuardPeer instance
* @idx: the index from zero to (allowed-ips-len - 1) to
* retrieve.
* @out_is_valid: (optional): %TRUE if the returned value is a valid allowed-ip
* @out_is_valid: (nullable): %TRUE if the returned value is a valid allowed-ip
* setting.
* This parameter is wrongly not marked as (out) argument, it is
* thus not accessible via introspection. This cannot be fixed without