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.
This commit is contained in:
Matthias Clasen 2012-11-30 09:03:20 -05:00
parent 30cff2a8e0
commit a5f57bad20

View File

@ -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,