[gnome-builder/wip/gtk4-port] plugins/podman: share implementation for run/build preparation



commit 29bc701533ab0691e4c78bd88b7bc92fc5ad8c12
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jun 22 17:23:24 2022 -0700

    plugins/podman: share implementation for run/build preparation

 src/plugins/podman/gbp-podman-runtime.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/podman/gbp-podman-runtime.c b/src/plugins/podman/gbp-podman-runtime.c
index 616139e68..ebb065930 100644
--- a/src/plugins/podman/gbp-podman-runtime.c
+++ b/src/plugins/podman/gbp-podman-runtime.c
@@ -160,8 +160,8 @@ gbp_podman_runtime_run_handler_cb (IdeRunContext       *run_context,
 }
 
 static void
-gbp_podman_runtime_prepare_to_run (IdeRuntime    *runtime,
-                                   IdeRunContext *run_context)
+gbp_podman_runtime_prepare_run_context (IdeRuntime    *runtime,
+                                        IdeRunContext *run_context)
 {
   IDE_ENTRY;
 
@@ -552,7 +552,8 @@ gbp_podman_runtime_class_init (GbpPodmanRuntimeClass *klass)
 
   runtime_class->create_launcher = gbp_podman_runtime_create_launcher;
   runtime_class->translate_file = gbp_podman_runtime_translate_file;
-  runtime_class->prepare_to_run = gbp_podman_runtime_prepare_to_run;
+  runtime_class->prepare_to_build = gbp_podman_runtime_prepare_run_context;
+  runtime_class->prepare_to_run = gbp_podman_runtime_prepare_run_context;
 }
 
 static void


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