mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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
This commit is contained in:
@@ -220,6 +220,7 @@ g_file_get_type
|
||||
<FILE>gfileenumerator</FILE>
|
||||
<TITLE>GFileEnumerator</TITLE>
|
||||
GFileEnumerator
|
||||
g_file_enumerator_iterate
|
||||
g_file_enumerator_next_file
|
||||
g_file_enumerator_close
|
||||
g_file_enumerator_next_files_async
|
||||
|
Reference in New Issue
Block a user