[gnome-software/wip/hughsie/fix-alternates-regression: 7/12] flatpak: Never claim the list of alternates



commit 81ca26875939aadc0c00be89d0ef740ae26ec76a
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 8 17:17:05 2018 +0100

    flatpak: Never claim the list of alternates
    
    These are supposed to be wildcards, and the plugin loader does nasty red
    warnings if a management plugin is set on them.

 plugins/flatpak/gs-flatpak.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index ce3f5594..ecbe1ed5 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2463,7 +2463,6 @@ gs_flatpak_add_alternates (GsFlatpak *self,
        if (!gs_appstream_add_alternates (self->plugin, self->store, app, list_tmp,
                                          cancellable, error))
                return FALSE;
-       gs_flatpak_claim_app_list (self, list_tmp);
        gs_app_list_add_list (list, list_tmp);
        return TRUE;
 }


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