[gnome-builder/wip/chergert/lsp-plugin-loader] libide/lsp: remove some unused code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/lsp-plugin-loader] libide/lsp: remove some unused code
- Date: Fri, 14 Oct 2022 02:42:59 +0000 (UTC)
commit 31a0913e0e7b91198c896ab01cbce10a759897d8
Author: Christian Hergert <chergert redhat com>
Date: Thu Oct 13 21:26:15 2022 -0500
libide/lsp: remove some unused code
src/libide/lsp/ide-lsp-plugin.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/src/libide/lsp/ide-lsp-plugin.c b/src/libide/lsp/ide-lsp-plugin.c
index 0d8562576..3d38f39c7 100644
--- a/src/libide/lsp/ide-lsp-plugin.c
+++ b/src/libide/lsp/ide-lsp-plugin.c
@@ -32,9 +32,6 @@
#include "ide-lsp-plugin-private.h"
#include "ide-lsp-service.h"
-static const char *intern_plugin_info;
-static GType info_type;
-
typedef enum _IdeLspPluginFeatures
{
IDE_LSP_PLUGIN_FEATURES_DIAGNOSTICS = 1 << 0,
@@ -286,12 +283,6 @@ ide_lsp_plugin_register_types (PeasObjectModule *object_module)
g_return_if_fail (PEAS_IS_OBJECT_MODULE (object_module));
- if G_UNLIKELY (intern_plugin_info)
- intern_plugin_info = g_intern_string ("plugin-info");
-
- if G_UNLIKELY (info_type == G_TYPE_INVALID)
- info_type = PEAS_TYPE_PLUGIN_INFO;
-
engine = peas_engine_get_default ();
module_name = peas_object_module_get_module_name (object_module);
plugin_info = peas_engine_get_plugin_info (engine, module_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]