[gnome-builder] Revert "wip-on-c-pack"



commit c7638efc6ce550374060865c22f7e86a07a89670
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 19 00:09:10 2018 -0700

    Revert "wip-on-c-pack"
    
    This reverts commit d99e5a8f64f4b78521b563eef651f41da9911427.

 src/plugins/c-pack/c-pack-plugin.c             |   2 -
 src/plugins/c-pack/c-pack.plugin               |   4 +-
 src/plugins/c-pack/cpack-completion-provider.c | 194 -------------------------
 src/plugins/c-pack/cpack-completion-provider.h |  29 ----
 src/plugins/c-pack/meson.build                 |   1 -
 5 files changed, 2 insertions(+), 228 deletions(-)
---
diff --git a/src/plugins/c-pack/c-pack-plugin.c b/src/plugins/c-pack/c-pack-plugin.c
index 5836e3e00..8781e934f 100644
--- a/src/plugins/c-pack/c-pack-plugin.c
+++ b/src/plugins/c-pack/c-pack-plugin.c
@@ -19,7 +19,6 @@
 #include <libpeas/peas.h>
 
 #include "ide-c-indenter.h"
-#include "cpack-completion-provider.h"
 #include "cpack-editor-view-addin.h"
 
 void
@@ -27,5 +26,4 @@ ide_c_pack_register_types (PeasObjectModule *module)
 {
   peas_object_module_register_extension_type (module, IDE_TYPE_INDENTER, IDE_TYPE_C_INDENTER);
   peas_object_module_register_extension_type (module, IDE_TYPE_EDITOR_VIEW_ADDIN, 
CPACK_TYPE_EDITOR_VIEW_ADDIN);
-  peas_object_module_register_extension_type (module, IDE_TYPE_COMPLETION_PROVIDER, 
CPACK_TYPE_COMPLETION_PROVIDER);
 }
diff --git a/src/plugins/c-pack/c-pack.plugin b/src/plugins/c-pack/c-pack.plugin
index ac3ca1b4a..7441e493e 100644
--- a/src/plugins/c-pack/c-pack.plugin
+++ b/src/plugins/c-pack/c-pack.plugin
@@ -7,6 +7,6 @@ Copyright=Copyright © 2015 Christian Hergert
 Builtin=true
 X-Indenter-Languages=c,chdr
 X-Indenter-Languages-Priority=0
-X-Completion-Provider-Languages=c,chdr,cpp,cpphdr
-X-Completion-Provider-Languages-Priority=5000
+X-Completion-Provider-Languages=c,chdr
+X-Completion-Provider-Languages-Priority=0
 Embedded=ide_c_pack_register_types
diff --git a/src/plugins/c-pack/meson.build b/src/plugins/c-pack/meson.build
index d58560237..60c0bb833 100644
--- a/src/plugins/c-pack/meson.build
+++ b/src/plugins/c-pack/meson.build
@@ -11,7 +11,6 @@ c_pack_sources = [
   'c-parse-helper.c',
   'hdr-format.c',
   'ide-c-indenter.c',
-  'cpack-completion-provider.c',
   'cpack-editor-view-addin.c',
 ]
 


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