filenumerator: Add g_file_enumerator_iterate()
authorColin Walters <walters@verbum.org>
Thu, 12 Feb 2015 23:20:14 +0000 (18:20 -0500)
committerColin Walters <walters@verbum.org>
Fri, 20 Feb 2015 19:02:05 +0000 (14:02 -0500)
commit52cd62d946946af3b0c9dac644ddc4bd517d131b
tree75a7244d1f389a1a26b3ac176897e040a4100471
parent9d6d30475b4039b3bd352e641c4266efeb14329c
filenumerator: Add g_file_enumerator_iterate()

This is *significantly* more pleasant to use from C (while handling
errors and memory cleanup).

While we're here, change some ugly, leaky code in
tests/desktop-app-info.c to use it, in addition to a test case
in tests/file.c.

https://bugzilla.gnome.org/show_bug.cgi?id=661554
docs/reference/gio/gio-sections.txt
gio/gfileenumerator.c
gio/gfileenumerator.h
gio/tests/desktop-app-info.c
gio/tests/file.c