libnm: fix nm_client_add_and_activate_connection2_finish annotation

Mark out_result as out argument. Fixes an issue when using libnm bindings.

Fixes: fbb038af5e ('all: return output dictionary from "AddAndActivate2"')

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1092
(cherry picked from commit 3b67b7768d)
This commit is contained in:
Val Och 2022-02-09 13:32:54 +00:00 committed by Thomas Haller
parent f55dc420ba
commit 00609c900b
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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.
*