[gnome-software: 8/13] flatpak: Use the correct mask enum member rather than GUINT64




commit ff565ac38a364edd04d1dface6272d74df7f6623
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Jan 26 16:43:51 2021 +0000

    flatpak: Use the correct mask enum member rather than GUINT64
    
    This is a bit neater, and more type-safe.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 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 9b3aa962..73f45591 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -3188,7 +3188,7 @@ gs_flatpak_file_to_app_ref (GsFlatpak *self,
 
        /* get extra AppStream data if available */
        if (!gs_flatpak_refine_appstream (self, app, silo,
-                                         G_MAXUINT64,
+                                         GS_PLUGIN_REFINE_FLAGS_MASK,
                                          cancellable,
                                          error))
                return NULL;


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