[gnome-software] flatpak: Add back appstream version parsing



commit ef2c9bf6cdaefb1affb64babfa496f25d9c224c9
Author: Kalev Lember <klember redhat com>
Date:   Wed Jan 16 21:03:28 2019 +0100

    flatpak: Add back appstream version parsing
    
    This is still needed for listing available app versions.

 plugins/flatpak/gs-flatpak.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 7f867372..7428e229 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -2072,7 +2072,6 @@ gs_plugin_refine_item_size (GsFlatpak *self,
 static void
 gs_flatpak_refine_appstream_release (XbNode *component, GsApp *app)
 {
-#if ! FLATPAK_CHECK_VERSION(1,1,3)
        const gchar *version;
 
        /* get first release */
@@ -2090,7 +2089,6 @@ gs_flatpak_refine_appstream_release (XbNode *component, GsApp *app)
                         gs_app_get_unique_id (app), version);
                break;
        }
-#endif
 }
 
 static gboolean


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