From 005b83de478cc41847d9916518eccd7e230bbf78 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 5 Dec 2014 11:53:29 +0100 Subject: [PATCH] libnm: fix gtkdoc annotations for nm_utils_file_search_in_paths() Fixes: 6399170ff36986b7e973f77598390b37612106cb --- libnm-core/nm-utils.c | 4 ++-- libnm-util/nm-utils.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index e4a4ab2f67..7b78925879 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -2206,10 +2206,10 @@ nm_utils_file_is_pkcs12 (const char *filename) * Can be empty or %NULL, in which case only @try_first is checked. * @file_test_flags: the flags passed to g_file_test() when searching * for @progname. Set it to 0 to skip the g_file_test(). - * @predicate: if given, pass the file name to this function + * @predicate: (scope call): if given, pass the file name to this function * for additional checks. This check is performed after the check for * @file_test_flags. You cannot omit both @file_test_flags and @predicate. - * @user_data: (allow-none): user data for @predicate function. + * @user_data: (closure): (allow-none): user data for @predicate function. * @error: on failure, a "not found" error using @error_domain and @error_code * * Searches for a @progname file in a list of search @paths. diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index 5a9caf3b37..be3cb6342c 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -1746,10 +1746,10 @@ nm_utils_file_is_pkcs12 (const char *filename) * Can be empty or %NULL, in which case only @try_first is checked. * @file_test_flags: the flags passed to g_file_test() when searching * for @progname. Set it to 0 to skip the g_file_test(). - * @predicate: if given, pass the file name to this function + * @predicate: (scope call): if given, pass the file name to this function * for additional checks. This check is performed after the check for * @file_test_flags. You cannot omit both @file_test_flags and @predicate. - * @user_data: (allow-none): user data for @predicate function. + * @user_data: (closure): (allow-none): user data for @predicate function. * @error: on failure, a "not found" error using @error_domain and @error_code * * Searches for a @progname file in a list of search @paths.