[gnome-builder/gnome-builder-3-26] flatpak: track all runtimes including ignored ones



commit 653da9a54ec681c7c3be2f9c0c2b4b5dbf0c25ce
Author: Christian Hergert <chergert redhat com>
Date:   Mon Sep 25 14:55:26 2017 -0700

    flatpak: track all runtimes including ignored ones
    
    We want this so that we can locate .Docs runtimes later on. We will ignore
    the runtimes from other places.

 plugins/flatpak/gbp-flatpak-application-addin.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-application-addin.c b/plugins/flatpak/gbp-flatpak-application-addin.c
index 38c1a2d..014b934 100644
--- a/plugins/flatpak/gbp-flatpak-application-addin.c
+++ b/plugins/flatpak/gbp-flatpak-application-addin.c
@@ -476,10 +476,8 @@ gbp_flatpak_application_addin_get_runtimes (GbpFlatpakApplicationAddin *self)
           for (guint j = 0; j < ar->len; j++)
             {
               FlatpakInstalledRef *ref = g_ptr_array_index (ar, j);
-              const gchar *name = flatpak_ref_get_name (FLATPAK_REF (ref));
 
-              if (!gbp_flatpak_is_ignored (name))
-                g_ptr_array_add (ret, g_object_ref (ref));
+              g_ptr_array_add (ret, g_object_ref (ref));
             }
         }
     }


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