From 465df6f432aa37422dbcce569ff7db3e6ec7d3e8 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 21 Jul 2022 17:22:11 +0200 Subject: [PATCH] libnm: fix annotations for nm_conn_wireguard_import() Fixes: f00e747beb05 ('libnm-client: Add public nm_conn_wireguard_import() func') --- src/libnm-client-impl/nm-conn-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libnm-client-impl/nm-conn-utils.c b/src/libnm-client-impl/nm-conn-utils.c index ef9375395..5d04cd32d 100644 --- a/src/libnm-client-impl/nm-conn-utils.c +++ b/src/libnm-client-impl/nm-conn-utils.c @@ -96,11 +96,11 @@ value_split_word(char **line_remainder, char **out_word) * @filename: name of the file to attempt to read into a new #NMConnection * @error: on return, an error or %NULL * - * Returns: a new #NMConnection imported from @path, or %NULL + * Returns: (transfer full): a new #NMConnection imported from @path, or %NULL * on error or if the file with @filename was not recognized as a WireGuard config * * Since: 1.40 - * */ + */ NMConnection * nm_conn_wireguard_import(const char *filename, GError **error) {