extensions-tool: Request missing attribute
g_file_enumerator_iterate() requires an enumerator that was created with standard::file. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2121>
This commit is contained in:
parent
6a88c0f0be
commit
869560e054
@ -263,7 +263,11 @@ file_delete_recursively (GFile *file,
|
|||||||
g_autoptr (GFileEnumerator) file_enum = NULL;
|
g_autoptr (GFileEnumerator) file_enum = NULL;
|
||||||
GFile *child;
|
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)
|
if (file_enum)
|
||||||
while (TRUE)
|
while (TRUE)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user