[gnome-builder/wip/gtk4-port] plugins/flatpak: set run context to run on host



commit e0e91aa796c3eb54135c0df7bcd901bf08b48be7
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 21 22:44:26 2022 -0700

    plugins/flatpak: set run context to run on host

 src/plugins/flatpak/gbp-flatpak-runtime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-runtime.c b/src/plugins/flatpak/gbp-flatpak-runtime.c
index 7035e83da..dcb5d28cf 100644
--- a/src/plugins/flatpak/gbp-flatpak-runtime.c
+++ b/src/plugins/flatpak/gbp-flatpak-runtime.c
@@ -360,7 +360,7 @@ gbp_flatpak_runtime_handle_run_context_cb (IdeRunContext       *run_context,
   g_assert (IDE_IS_RUN_CONTEXT (run_context));
   g_assert (IDE_IS_UNIX_FD_MAP (unix_fd_map));
 
-  /* TODO: need way to specify to run on host */
+  ide_run_context_set_run_on_host (run_context, TRUE);
 
   /* Pass through the FD mappings */
   if (!ide_run_context_merge_unix_fd_map (run_context, unix_fd_map, error))


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