mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
extensions-tool: Request missing attribute
g_file_enumerator_iterate() requires an enumerator that was created
with standard::file.
(cherry picked from commit 869560e054)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2180>
This commit is contained in:
parent
be9ca09ef0
commit
385be314fc
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue