From 2630758cb419dff1693b4c28d687877e660c1beb 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) (cherry picked from commit 805adec9ca6ddf726fc40aab1093da55193a8e5b) (cherry picked from commit b5a66b88b37aa32d450d672e71668a6b015f1818) --- 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 b1b8e55f60..8505f71377 100644 --- a/libnm-core/nm-setting-match.c +++ b/libnm-core/nm-setting-match.c @@ -179,10 +179,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 **/