[gnome-builder/wip/gtk4-port] plugins/flatpak: namespace buildtarget



commit d1cacb08454f11bc2889be95c649423865a591ed
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 10 15:05:04 2022 -0700

    plugins/flatpak: namespace buildtarget
    
    This, in the long term, should completely go away in favor of something
    more like a "runnable" provider. It was only a hack to shim this into
    build providers but we're finally growing out of that phase.

 src/plugins/flatpak/gbp-flatpak-build-target.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-build-target.c b/src/plugins/flatpak/gbp-flatpak-build-target.c
index 22858609a..8223b07fd 100644
--- a/src/plugins/flatpak/gbp-flatpak-build-target.c
+++ b/src/plugins/flatpak/gbp-flatpak-build-target.c
@@ -48,7 +48,8 @@ gbp_flatpak_build_target_get_name (IdeBuildTarget *build_target)
 {
   GbpFlatpakBuildTarget *self = GBP_FLATPAK_BUILD_TARGET (build_target);
 
-  return g_strdup (self->command);
+  /* This should be namespaced at least */
+  return g_strdup_printf ("flatpak:%s", self->command);
 }
 
 static gchar **


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