[gnome-builder/wip/gtk4-port] plugins/snippets: drop preference addin



commit 8bd76a52712132d98d22f1eddcf781c24518992f
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 26 13:14:49 2022 -0700

    plugins/snippets: drop preference addin
    
    We will want to use the gsetting instead to key off of.

 .../snippets/ide-snippet-preferences-addin.c       | 86 ----------------------
 .../snippets/ide-snippet-preferences-addin.h       | 31 --------
 src/plugins/snippets/meson.build                   |  1 -
 src/plugins/snippets/snippets-plugin.c             |  4 -
 4 files changed, 122 deletions(-)
---
diff --git a/src/plugins/snippets/meson.build b/src/plugins/snippets/meson.build
index fcfe030fe..6eab11d4f 100644
--- a/src/plugins/snippets/meson.build
+++ b/src/plugins/snippets/meson.build
@@ -1,7 +1,6 @@
 plugins_sources += files([
   'snippets-plugin.c',
   'ide-snippet-application-addin.c',
-  'ide-snippet-preferences-addin.c',
 ])
 
 snippets_resources = gnome.compile_resources(
diff --git a/src/plugins/snippets/snippets-plugin.c b/src/plugins/snippets/snippets-plugin.c
index 8fdb01831..80da68596 100644
--- a/src/plugins/snippets/snippets-plugin.c
+++ b/src/plugins/snippets/snippets-plugin.c
@@ -24,7 +24,6 @@
 #include <libide-sourceview.h>
 #include <libpeas/peas.h>
 
-#include "ide-snippet-preferences-addin.h"
 #include "ide-snippet-application-addin.h"
 
 _IDE_EXTERN void
@@ -33,9 +32,6 @@ _gbp_snippets_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               GTK_SOURCE_TYPE_COMPLETION_PROVIDER,
                                               GTK_SOURCE_TYPE_COMPLETION_SNIPPETS);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              IDE_TYPE_SNIPPET_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_APPLICATION_ADDIN,
                                               IDE_TYPE_SNIPPET_APPLICATION_ADDIN);


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