From fc5a66b14b1a1c90996c3568e03390f9d86dcda4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 8 Jan 2015 13:06:37 +0100 Subject: libnm: fix documentation for nm_utils_file_search_in_paths() --- libnm-core/nm-utils.c | 2 +- libnm-util/nm-utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libnm-core/nm-utils.c b/libnm-core/nm-utils.c index e14775ff22..b3198f4c0b 100644 --- a/libnm-core/nm-utils.c +++ b/libnm-core/nm-utils.c @@ -2218,7 +2218,7 @@ nm_utils_file_is_pkcs12 (const char *filename) * 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: (closure): (allow-none): user data for @predicate function. - * @error: on failure, a "not found" error using @error_domain and @error_code + * @error: (allow-none): on failure, set a "not found" error %G_IO_ERROR %G_IO_ERROR_NOT_FOUND. * * 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 203803f238..022fa70f0e 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -1756,7 +1756,7 @@ nm_utils_file_is_pkcs12 (const char *filename) * 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: (closure): (allow-none): user data for @predicate function. - * @error: on failure, a "not found" error using @error_domain and @error_code + * @error: (allow-none): on failure, set a "not found" error %G_IO_ERROR %G_IO_ERROR_NOT_FOUND. * * Searches for a @progname file in a list of search @paths. * -- cgit v1.2.1