[gnome-builder] plugins/podman: actually create IdeRunContext



commit cc9b97a66d0b311033a63dd7f0020005c2a1155a
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 28 11:17:24 2022 -0700

    plugins/podman: actually create IdeRunContext

 src/plugins/podman/gbp-podman-runtime.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/podman/gbp-podman-runtime.c b/src/plugins/podman/gbp-podman-runtime.c
index a9f86fbf5..29ecb6dbe 100644
--- a/src/plugins/podman/gbp-podman-runtime.c
+++ b/src/plugins/podman/gbp-podman-runtime.c
@@ -178,6 +178,8 @@ gbp_podman_runtime_contains_program_in_path (IdeRuntime   *runtime,
   g_assert (GBP_IS_PODMAN_RUNTIME (runtime));
   g_assert (program != NULL);
 
+  run_context = ide_run_context_new ();
+
   gbp_podman_runtime_prepare_run_context (runtime, NULL, run_context);
   ide_run_context_push_shell (run_context, TRUE);
   ide_run_context_append_argv (run_context, "which");


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