[glib] g_file_enumerate_children: Fix reference to wrong error code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] g_file_enumerate_children: Fix reference to wrong error code
- Date: Fri, 30 Nov 2012 14:05:19 +0000 (UTC)
commit a5f57bad20754b337357e1fba099773b34ed841d
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Nov 30 09:03:20 2012 -0500
g_file_enumerate_children: Fix reference to wrong error code
This function does in fact return G_IO_ERROR_NOT_DIRETORY, and
not G_FILE_ERROR_NOTDIR.
gio/gfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 9130800..eecebca 100644
--- a/gio/gfile.c
+++ b/gio/gfile.c
@@ -874,7 +874,7 @@ g_file_resolve_relative_path (GFile *file,
* returned.
*
* If the file does not exist, the %G_IO_ERROR_NOT_FOUND error will
- * be returned. If the file is not a directory, the %G_FILE_ERROR_NOTDIR
+ * be returned. If the file is not a directory, the %G_IO_ERROR_NOT_DIRECTORY
* error will be returned. Other errors are possible too.
*
* Returns: (transfer full): A #GFileEnumerator if successful,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]