[gnome-builder] meson: remove unused function



commit 0701b0ec9d5bbf820dd6c48ca6d905920f209c9f
Author: Christian Hergert <chergert redhat com>
Date:   Sun Nov 19 22:32:04 2017 -0800

    meson: remove unused function

 src/plugins/meson/gbp-meson-build-system.c |   26 --------------------------
 1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/src/plugins/meson/gbp-meson-build-system.c b/src/plugins/meson/gbp-meson-build-system.c
index d5c0999..afed646 100644
--- a/src/plugins/meson/gbp-meson-build-system.c
+++ b/src/plugins/meson/gbp-meson-build-system.c
@@ -47,32 +47,6 @@ enum {
 
 static GParamSpec *properties [N_PROPS];
 
-static IdeSubprocessLauncher *
-gbp_meson_build_system_create_launcher (GbpMesonBuildSystem  *self,
-                                        GError              **error)
-{
-  IdeBuildPipeline *pipeline;
-  IdeBuildManager *build_manager;
-  IdeContext *context;
-
-  g_assert (GBP_IS_MESON_BUILD_SYSTEM (self));
-
-  context = ide_object_get_context (IDE_OBJECT (self));
-  build_manager = ide_context_get_build_manager (context);
-  pipeline = ide_build_manager_get_pipeline (build_manager);
-
-  if (pipeline == NULL)
-    {
-      g_set_error (error,
-                   G_IO_ERROR,
-                   G_IO_ERROR_FAILED,
-                   "Pipeline is not ready, cannot create launcher");
-      return NULL;
-    }
-
-  return ide_build_pipeline_create_launcher (pipeline, error);
-}
-
 static void
 gbp_meson_build_system_ensure_config_cb (GObject      *object,
                                          GAsyncResult *result,


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