Bug 556422 – g_file_enumerator_next_file: unclear whether return value

2008-10-16  Matthias Clasen  <mclasen@redhat.com>

        Bug 556422 – g_file_enumerator_next_file: unclear whether return
        value needs to be freed

        * gfileenumerator.c (g_file_enumerate_next_file): Clarify
        the return value docs. Pointed out by Armin Burgmeier

svn path=/trunk/; revision=7603
This commit is contained in:
Matthias Clasen 2008-10-16 04:19:53 +00:00 committed by Matthias Clasen
parent 154bbc462a
commit 61aa1f7db0
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-10-16 Matthias Clasen <mclasen@redhat.com>
Bug 556422 g_file_enumerator_next_file: unclear whether return
value needs to be freed
* gfileenumerator.c (g_file_enumerate_next_file): Clarify
the return value docs. Pointed out by Armin Burgmeier
2008-10-14 Matthias Clasen <mclasen@redhat.com>
Bug 556334 Warning when building without selinux support

View File

@ -186,7 +186,8 @@ g_file_enumerator_init (GFileEnumerator *enumerator)
* enumerator is at the end, %NULL will be returned and @error will
* be unset.
*
* Return value: A #GFileInfo or %NULL on error or end of enumerator
* Return value: A #GFileInfo or %NULL on error or end of enumerator.
* Free the returned object with g_object_unref() when no longer needed.
**/
GFileInfo *
g_file_enumerator_next_file (GFileEnumerator *enumerator,