[gnome-builder/wip/gtk4-port: 1711/1774] plugins/jhbuild: remove create launcher
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 1711/1774] plugins/jhbuild: remove create launcher
- Date: Mon, 11 Jul 2022 22:31:55 +0000 (UTC)
commit 106083b3bcfd0002bc9ecbb8ddbf45eabbb812b1
Author: Christian Hergert <chergert redhat com>
Date: Tue Jun 28 13:34:55 2022 -0700
plugins/jhbuild: remove create launcher
This isn't necessary anymore, so we can delete it.
src/plugins/jhbuild/gbp-jhbuild-runtime.c | 22 ----------------------
1 file changed, 22 deletions(-)
---
diff --git a/src/plugins/jhbuild/gbp-jhbuild-runtime.c b/src/plugins/jhbuild/gbp-jhbuild-runtime.c
index fd919a2f3..cc36c1e2f 100644
--- a/src/plugins/jhbuild/gbp-jhbuild-runtime.c
+++ b/src/plugins/jhbuild/gbp-jhbuild-runtime.c
@@ -42,27 +42,6 @@ G_DEFINE_FINAL_TYPE (GbpJhbuildRuntime, gbp_jhbuild_runtime, IDE_TYPE_RUNTIME)
static GParamSpec *properties [N_PROPS];
-static IdeSubprocessLauncher *
-gbp_jhbuild_runtime_create_launcher (IdeRuntime *runtime,
- GError **error)
-{
- GbpJhbuildRuntime *self = (GbpJhbuildRuntime *)runtime;
- g_autoptr(IdeSubprocessLauncher) launcher = NULL;
-
- g_assert (GBP_IS_JHBUILD_RUNTIME (self));
-
- launcher = IDE_RUNTIME_CLASS (gbp_jhbuild_runtime_parent_class)->create_launcher (runtime, error);
-
- if (launcher != NULL)
- {
- ide_subprocess_launcher_push_args (launcher, IDE_STRV_INIT (self->executable_path, "run"));
- ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
- ide_subprocess_launcher_set_clear_env (launcher, FALSE);
- }
-
- return g_steal_pointer (&launcher);
-}
-
static gboolean
gbp_jhbuild_runtime_run_handler (IdeRunContext *run_context,
const char * const *argv,
@@ -251,7 +230,6 @@ gbp_jhbuild_runtime_class_init (GbpJhbuildRuntimeClass *klass)
object_class->set_property = gbp_jhbuild_runtime_set_property;
runtime_class->contains_program_in_path = gbp_jhbuild_runtime_contains_program_in_path;
- runtime_class->create_launcher = gbp_jhbuild_runtime_create_launcher;
runtime_class->prepare_configuration = gbp_jhbuild_runtime_prepare_configuration;
runtime_class->prepare_to_build = gbp_jhbuild_runtime_prepare_run_context;
runtime_class->prepare_to_run = gbp_jhbuild_runtime_prepare_run_context;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]