gresource: Clarify error docs for g_resource_enumerate_children()

Document that it returns G_RESOURCE_ERROR_NOT_FOUND if the path doesn’t
exist.
This commit is contained in:
Philip Withnall 2015-07-28 10:13:12 +01:00
parent 6e4e1c168c
commit 7f195ac956

View File

@ -530,6 +530,9 @@ g_resource_get_info (GResource *resource,
* The return result is a %NULL terminated list of strings which should * The return result is a %NULL terminated list of strings which should
* be released with g_strfreev(). * be released with g_strfreev().
* *
* If @path is invalid or does not exist in the #GResource,
* %G_RESOURCE_ERROR_NOT_FOUND will be returned.
*
* @lookup_flags controls the behaviour of the lookup. * @lookup_flags controls the behaviour of the lookup.
* *
* Returns: (array zero-terminated=1) (transfer full): an array of constant strings * Returns: (array zero-terminated=1) (transfer full): an array of constant strings