From 290bac0af9ad567f18ba59b5401dcfe4c571ee87 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Sun, 16 Apr 2023 16:48:39 +0200 Subject: [PATCH] libnm: fix annotation for out_is_valid of nm_wireguard_peer_get_allowed_ip() Fixes: 5d28a0dd899b ('doc: replace all (allow-none) annotations by (optional) and/or (nullable)') --- src/libnm-core-impl/nm-setting-wireguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-core-impl/nm-setting-wireguard.c b/src/libnm-core-impl/nm-setting-wireguard.c index 4a30985bc3..b0e3f66cbf 100644 --- a/src/libnm-core-impl/nm-setting-wireguard.c +++ b/src/libnm-core-impl/nm-setting-wireguard.c @@ -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