[gnome-builder] jhbuild: use default create_runner vfunc



commit 60befcb192d30f372549392e7947888015e05d32
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 14 00:42:05 2016 -0700

    jhbuild: use default create_runner vfunc
    
    We shouldn't need this anymore now that launcher is more flexible.

 plugins/jhbuild/jhbuild_plugin.py |   17 -----------------
 1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/plugins/jhbuild/jhbuild_plugin.py b/plugins/jhbuild/jhbuild_plugin.py
index 5c1b4fc..c7c5e33 100644
--- a/plugins/jhbuild/jhbuild_plugin.py
+++ b/plugins/jhbuild/jhbuild_plugin.py
@@ -41,23 +41,6 @@ class JhbuildRuntime(Ide.Runtime):
             # Rely on search path
             return 'jhbuild'
 
-    def do_create_runner(self, build_target):
-        try:
-            installdir = build_target.props.install_directory
-            name = build_target.props.name
-            binpath = installdir.get_child(name).get_path()
-
-            # The runner uses a launcher from self.create_launcher(), so
-            # most of our settings should already be applied.
-            runner = Ide.Runner.new(self.get_context())
-            runner.set_run_on_host(True)
-            runner.set_clear_env(False)
-            runner.append_argv(binpath)
-
-            return runner
-        except Exception as ex:
-            print(ex)
-
     def do_create_launcher(self):
         try:
             launcher = Ide.Runtime.do_create_launcher(self)


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