Commit a5f57bad authored by Matthias Clasen's avatar Matthias Clasen

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.
parent 30cff2a8
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment