[gnome-software/1712-clicking-fedora-flathub-selection-does-not-update-the-filtered-flathub-appstream-metadata] flatpak: Rescan all app data when getting app categories
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1712-clicking-fedora-flathub-selection-does-not-update-the-filtered-flathub-appstream-metadata] flatpak: Rescan all app data when getting app categories
- Date: Fri, 22 Apr 2022 06:01:53 +0000 (UTC)
commit f5906fd9daf6a42c19b304f8188147d5d613cc63
Author: Milan Crha <mcrha redhat com>
Date: Fri Apr 22 08:00:01 2022 +0200
flatpak: Rescan all app data when getting app categories
This was the only place where only appstream data had been updated,
while it should update whole app data, in case it's needed. Caught
by Phaedrus Leeds.
plugins/flatpak/gs-flatpak.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 09d28add1..94f4237c4 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -4003,7 +4003,7 @@ gs_flatpak_add_category_apps (GsFlatpak *self,
{
g_autoptr(GRWLockReaderLocker) locker = NULL;
- if (!gs_flatpak_rescan_appstream_store (self, interactive, cancellable, error))
+ if (!gs_flatpak_rescan_app_data (self, interactive, cancellable, error))
return FALSE;
locker = g_rw_lock_reader_locker_new (&self->silo_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]