[gnome-builder/wip/chergert/completion] c-pack: remove format provider
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/completion] c-pack: remove format provider
- Date: Sun, 3 Jun 2018 22:00:57 +0000 (UTC)
commit e3762357835a770069d07b12329166890b1fd434
Author: Christian Hergert <chergert redhat com>
Date: Sun Jun 3 14:58:48 2018 -0700
c-pack: remove format provider
If we're going to bring these back, we need a simplified
interface for plugins to register these for languages.
src/plugins/c-pack/c-pack-plugin.c | 4 -
src/plugins/c-pack/ide-c-format-provider.c | 297 -----------------------------
src/plugins/c-pack/ide-c-format-provider.h | 30 ---
src/plugins/c-pack/meson.build | 2 -
4 files changed, 333 deletions(-)
---
diff --git a/src/plugins/c-pack/c-pack-plugin.c b/src/plugins/c-pack/c-pack-plugin.c
index 95d4f9c2d..b0ab4c2ad 100644
--- a/src/plugins/c-pack/c-pack-plugin.c
+++ b/src/plugins/c-pack/c-pack-plugin.c
@@ -19,17 +19,13 @@
#include <libpeas/peas.h>
#include "ide-c-indenter.h"
-#include "ide-c-format-provider.h"
void _ide_c_indenter_register_type (GTypeModule *module);
-void _ide_c_format_provider_register_type (GTypeModule *module);
void
ide_c_pack_register_types (PeasObjectModule *module)
{
_ide_c_indenter_register_type (G_TYPE_MODULE (module));
- _ide_c_format_provider_register_type (G_TYPE_MODULE (module));
peas_object_module_register_extension_type (module, IDE_TYPE_INDENTER, IDE_TYPE_C_INDENTER);
- //peas_object_module_register_extension_type (module, IDE_TYPE_COMPLETION_PROVIDER,
IDE_TYPE_C_FORMAT_PROVIDER);
}
diff --git a/src/plugins/c-pack/meson.build b/src/plugins/c-pack/meson.build
index 87c8fbe03..c80037ef3 100644
--- a/src/plugins/c-pack/meson.build
+++ b/src/plugins/c-pack/meson.build
@@ -12,8 +12,6 @@ c_pack_sources = [
'c-parse-helper.h',
'ide-c-indenter.c',
'ide-c-indenter.h',
- 'ide-c-format-provider.c',
- 'ide-c-format-provider.h',
]
gnome_builder_plugins_sources += files(c_pack_sources)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]