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:
Simon McVittie 2022-02-08 14:04:50 +00:00 committed by Phaedrus Leeds
parent f8e400738b
commit 5477f08eaa

View File

@ -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;