[gnome-software] flatpak: Do not load the merge applications



commit 41f165ab7cf3286719b889a3c67cdf708031efd1
Author: Richard Hughes <richard hughsie com>
Date:   Fri May 19 16:25:58 2017 +0100

    flatpak: Do not load the merge applications
    
    This is now handled in the appstream plugin where it belongs.

 plugins/flatpak/gs-flatpak.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 7dcc87a..04a8c1d 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -441,18 +441,6 @@ gs_flatpak_setup (GsFlatpak *self, GCancellable *cancellable, GError **error)
                           error_md->message);
        }
 
-       /* load just the wildcards */
-       if (!as_store_load (self->store,
-                           AS_STORE_LOAD_FLAG_ONLY_MERGE_APPS |
-                           AS_STORE_LOAD_FLAG_ONLY_UNCOMPRESSED |
-                           AS_STORE_LOAD_FLAG_APP_INFO_USER |
-                           AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM,
-                           cancellable, error)) {
-               gs_utils_error_convert_appstream (error);
-               return FALSE;
-       }
-
-
        /* watch for changes */
        self->monitor = flatpak_installation_create_monitor (self->installation,
                                                             cancellable,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]