From 00609c900b6c4bf5a2d4e6d0b9b26c99802b2397 Mon Sep 17 00:00:00 2001 From: Val Och Date: Wed, 9 Feb 2022 13:32:54 +0000 Subject: [PATCH] libnm: fix nm_client_add_and_activate_connection2_finish annotation Mark out_result as out argument. Fixes an issue when using libnm bindings. Fixes: fbb038af5e5d ('all: return output dictionary from "AddAndActivate2"') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1092 (cherry picked from commit 3b67b7768df3ab8ad57401f5626310a1e26f4917) --- src/libnm-client-impl/nm-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libnm-client-impl/nm-client.c b/src/libnm-client-impl/nm-client.c index d27e4d5bc2..2cf12db593 100644 --- a/src/libnm-client-impl/nm-client.c +++ b/src/libnm-client-impl/nm-client.c @@ -5365,7 +5365,7 @@ nm_client_add_and_activate_connection2(NMClient *client, * @client: an #NMClient * @result: the result passed to the #GAsyncReadyCallback * @error: location for a #GError, or %NULL - * @out_result: (allow-none) (transfer full): the output result + * @out_result: (allow-none) (transfer full) (out): the output result * of type "a{sv}" returned by D-Bus' AddAndActivate2 call. Currently, no * output is implemented yet. *