libnm: fix annotations for nm_conn_wireguard_import()

Fixes: f00e747beb ('libnm-client: Add public nm_conn_wireguard_import() func')
This commit is contained in:
Thomas Haller
2022-07-21 17:22:11 +02:00
parent bd84ae4dc5
commit 465df6f432

View File

@@ -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)
{