mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
dir: Pass cancellable through to remote EnsureRepo call
Signed-off-by: Simon McVittie <smcv@collabora.com> (cherry picked from commit 15c1d4f8cb8bf8266b454a9789fe589c645a5480)
This commit is contained in:
parent
f8e400738b
commit
5477f08eaa
@ -3943,7 +3943,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self,
|
||||
if (!flatpak_dir_system_helper_call_ensure_repo (self,
|
||||
FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE,
|
||||
installation ? installation : "",
|
||||
NULL, &local_error))
|
||||
cancellable, &local_error))
|
||||
{
|
||||
if (allow_empty)
|
||||
return TRUE;
|
||||
@ -4087,7 +4087,7 @@ _flatpak_dir_ensure_repo (FlatpakDir *self,
|
||||
if (!flatpak_dir_system_helper_call_ensure_repo (self,
|
||||
FLATPAK_HELPER_ENSURE_REPO_FLAGS_NONE,
|
||||
installation ? installation : "",
|
||||
NULL, &my_error))
|
||||
cancellable, &my_error))
|
||||
{
|
||||
if (allow_empty)
|
||||
return TRUE;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user