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



commit 4fd796aef43ae75c5b4b6cd8f5dbd0824392160d
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 5218e9b9..cbd401e4 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2462,7 +2462,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]