summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-08 13:06:37 +0100
committerThomas Haller <thaller@redhat.com>2015-01-08 13:08:56 +0100
commitfc5a66b14b1a1c90996c3568e03390f9d86dcda4 (patch)
tree47a29195a106c4c33d59ab5380386ce555595ea3
parentabbca50ca9d552a28eca792f12ec618df6128fff (diff)
downloadNetworkManager-fc5a66b14b1a1c90996c3568e03390f9d86dcda4.tar.gz
libnm: fix documentation for nm_utils_file_search_in_paths()
-rw-r--r--libnm-core/nm-utils.c2
-rw-r--r--libnm-util/nm-utils.c2
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.
*