From 805adec9ca6ddf726fc40aab1093da55193a8e5b Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 6 May 2020 13:52:27 +0200 Subject: [PATCH] libnm: fix gtk-doc annotations for nm_setting_match_get_interface_names() Otherwise the function is not usable via generated bindings. Fixes: 9b9dce9486a8 ('all: add 'match' setting') (cherry picked from commit 180cda7632b194d15abea3f98b60b7b7e1ef26f7) --- libnm-core/nm-setting-match.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libnm-core/nm-setting-match.c b/libnm-core/nm-setting-match.c index 2e05881074..3ad58dafa9 100644 --- a/libnm-core/nm-setting-match.c +++ b/libnm-core/nm-setting-match.c @@ -171,10 +171,11 @@ nm_setting_match_clear_interface_names (NMSettingMatch *setting) /** * nm_setting_match_get_interface_names: * @setting: the #NMSettingMatch + * @length: (out): the length of the returned interface names array. * * Returns all the interface names. * - * Returns: (transfer none): the configured interface names. + * Returns: (transfer none) (array length=length): the configured interface names. * * Since: 1.14 **/