tree-wide: Port to g_file_enumerator_iterate()
Unlike OSTree, I'm going to assert we can take a hard dependency on the version of GLib that has it. Closes: #483 Approved by: jlebon
This commit is contained in:
parent
afb7ad6bbe
commit
4542778648
@ -125,8 +125,8 @@ dir_contains_uid_or_gid (GFile *root,
|
||||
GFileInfo *file_info;
|
||||
GFile *child;
|
||||
|
||||
if (!gs_file_enumerator_iterate (dir_enum, &file_info, &child,
|
||||
cancellable, error))
|
||||
if (!g_file_enumerator_iterate (dir_enum, &file_info, &child,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
if (!file_info)
|
||||
break;
|
||||
|
@ -198,8 +198,8 @@ find_kernel_and_initramfs_in_bootdir (GFile *bootdir,
|
||||
GFileInfo *file_info;
|
||||
GFile *child;
|
||||
|
||||
if (!gs_file_enumerator_iterate (direnum, &file_info, &child,
|
||||
cancellable, error))
|
||||
if (!g_file_enumerator_iterate (direnum, &file_info, &child,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
if (!file_info)
|
||||
break;
|
||||
@ -262,8 +262,8 @@ find_ensure_one_subdirectory (GFile *d,
|
||||
GFileInfo *file_info;
|
||||
GFile *child;
|
||||
|
||||
if (!gs_file_enumerator_iterate (direnum, &file_info, &child,
|
||||
cancellable, error))
|
||||
if (!g_file_enumerator_iterate (direnum, &file_info, &child,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
if (!file_info)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user