From 869560e05451cb3bef9bdf3bceba4e57543ef0b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 21 Jan 2022 02:41:51 +0100 Subject: [PATCH] extensions-tool: Request missing attribute g_file_enumerator_iterate() requires an enumerator that was created with standard::file. Part-of: --- subprojects/extensions-tool/src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/subprojects/extensions-tool/src/main.c b/subprojects/extensions-tool/src/main.c index c1e85dcf1..66a347626 100644 --- a/subprojects/extensions-tool/src/main.c +++ b/subprojects/extensions-tool/src/main.c @@ -263,7 +263,11 @@ file_delete_recursively (GFile *file, g_autoptr (GFileEnumerator) file_enum = NULL; GFile *child; - file_enum = g_file_enumerate_children (file, NULL, 0, NULL, NULL); + file_enum = g_file_enumerate_children (file, + G_FILE_ATTRIBUTE_STANDARD_NAME, + G_FILE_QUERY_INFO_NONE, + NULL, + NULL); if (file_enum) while (TRUE) {