[gnome-builder] prefs: remove legacy preferences/configview



commit 33a1bad0ed1ded12a92c4fcdbfe52eda3d53909e
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 27 04:17:38 2022 -0700

    prefs: remove legacy preferences/configview
    
    This is all replaced now by libide-tweaks which vastly simplifies how we
    can create preferences for settings and objects.
    
    Not quite everything has been brought over, and not everything will be
    brought over, but the majority is there. The main missing parts are still
    related to configuration editing and toolchain/sysroot configuration and
    that is a bit up in the air.

 src/libide/gui/ide-application-actions.c           |    1 -
 src/libide/gui/ide-config-view-addin.c             |   46 -
 src/libide/gui/ide-config-view-addin.h             |   53 -
 src/libide/gui/ide-preferences-addin.c             |   78 -
 src/libide/gui/ide-preferences-addin.h             |   59 -
 src/libide/gui/ide-preferences-builtin-private.h   |   29 -
 src/libide/gui/ide-preferences-builtin.c           |  849 ----------
 src/libide/gui/ide-preferences-choice-row.c        |  243 ---
 src/libide/gui/ide-preferences-choice-row.h        |   34 -
 src/libide/gui/ide-preferences-window.c            | 1651 --------------------
 src/libide/gui/ide-preferences-window.h            |  168 --
 src/libide/gui/ide-preferences-window.ui           |   84 -
 src/libide/gui/libide-gui.gresource.xml            |    1 -
 src/libide/gui/libide-gui.h                        |    5 -
 src/libide/gui/meson.build                         |   31 -
 src/libide/gui/style.css                           |   25 -
 src/libide/gui/tests/meson.build                   |    3 -
 src/libide/gui/tests/test-preferences.c            |  316 ----
 src/plugins/buildui/buildui-plugin.c               |   10 -
 .../buildui/gbp-buildui-config-view-addin.c        |  540 -------
 .../buildui/gbp-buildui-preferences-addin.c        |  722 ---------
 .../buildui/gbp-buildui-preferences-addin.h        |   31 -
 src/plugins/buildui/meson.build                    |    2 -
 src/plugins/clang/clang-plugin.c                   |    4 -
 src/plugins/clang/ide-clang-preferences-addin.c    |  122 --
 src/plugins/clang/ide-clang-preferences-addin.h    |   31 -
 src/plugins/clang/meson.build                      |    1 -
 src/plugins/copyright/copyright-plugin.c           |    4 -
 .../copyright/gbp-copyright-preferences-addin.c    |   85 -
 .../copyright/gbp-copyright-preferences-addin.h    |   32 -
 src/plugins/copyright/meson.build                  |    1 -
 src/plugins/editorui/editorui-plugin.c             |    4 -
 .../editorui/gbp-editorui-preferences-addin.c      |  461 ------
 .../editorui/gbp-editorui-preferences-addin.h      |   31 -
 src/plugins/editorui/meson.build                   |    1 -
 src/plugins/git/gbp-git-preferences-addin.c        |  247 ---
 src/plugins/git/gbp-git-preferences-addin.h        |   31 -
 src/plugins/git/git-plugin.c                       |    4 -
 src/plugins/git/meson.build                        |    1 -
 src/plugins/meson/gbp-meson-config-view-addin.c    |   78 -
 src/plugins/meson/gbp-meson-config-view-addin.h    |   31 -
 ...gbp-meson-toolchain-edition-preferences-addin.c |  269 ----
 ...gbp-meson-toolchain-edition-preferences-addin.h |   32 -
 src/plugins/meson/meson-plugin.c                   |   14 -
 src/plugins/meson/meson.build                      |    5 -
 .../gbp-quick-highlight-preferences.c              |   85 -
 .../gbp-quick-highlight-preferences.h              |   31 -
 src/plugins/quick-highlight/meson.build            |    1 -
 .../quick-highlight/quick-highlight-plugin.c       |    5 +-
 src/plugins/rust-analyzer/meson.build              |    1 -
 src/plugins/rust-analyzer/rust-analyzer-plugin.c   |    4 -
 .../rust-analyzer-preferences-addin.c              |  103 --
 .../rust-analyzer-preferences-addin.h              |   31 -
 .../shellcmd/gbp-shellcmd-preferences-addin.c      |  270 ----
 .../shellcmd/gbp-shellcmd-preferences-addin.h      |   31 -
 src/plugins/shellcmd/meson.build                   |    1 -
 src/plugins/shellcmd/shellcmd-plugin.c             |    4 -
 .../spellcheck/gbp-spell-preferences-addin.c       |   98 --
 .../spellcheck/gbp-spell-preferences-addin.h       |   31 -
 src/plugins/spellcheck/meson.build                 |    1 -
 src/plugins/spellcheck/spellcheck-plugin.c         |    4 -
 .../sysroot/gbp-sysroot-preferences-addin.c        |  208 ---
 .../sysroot/gbp-sysroot-preferences-addin.h        |   32 -
 src/plugins/sysroot/meson.build                    |    2 -
 src/plugins/sysroot/sysroot-plugin.c               |    9 -
 .../terminal/gbp-terminal-preferences-addin.c      |  167 --
 .../terminal/gbp-terminal-preferences-addin.h      |   31 -
 src/plugins/testui/gbp-testui-preferences-addin.c  |  106 --
 src/plugins/testui/gbp-testui-preferences-addin.h  |   31 -
 src/plugins/testui/meson.build                     |    1 -
 src/plugins/testui/testui-plugin.c                 |    4 -
 src/plugins/vim/gbp-vim-preferences-addin.c        |   90 --
 src/plugins/vim/gbp-vim-preferences-addin.h        |   31 -
 src/plugins/vim/meson.build                        |    1 -
 src/plugins/vim/vim-plugin.c                       |    4 -
 75 files changed, 1 insertion(+), 7887 deletions(-)
---
diff --git a/src/libide/gui/ide-application-actions.c b/src/libide/gui/ide-application-actions.c
index 5a4882010..cc9b74668 100644
--- a/src/libide/gui/ide-application-actions.c
+++ b/src/libide/gui/ide-application-actions.c
@@ -34,7 +34,6 @@
 #include "ide-application-private.h"
 #include "ide-application-tweaks.h"
 #include "ide-gui-global.h"
-#include "ide-preferences-window.h"
 #include "ide-primary-workspace.h"
 #include "ide-support-private.h"
 
diff --git a/src/libide/gui/libide-gui.gresource.xml b/src/libide/gui/libide-gui.gresource.xml
index 61f5aea1c..bfb0422dc 100644
--- a/src/libide/gui/libide-gui.gresource.xml
+++ b/src/libide/gui/libide-gui.gresource.xml
@@ -19,7 +19,6 @@
     <file preprocess="xml-stripblanks">ide-notifications-button.ui</file>
     <file preprocess="xml-stripblanks">ide-omni-bar.ui</file>
     <file preprocess="xml-stripblanks">ide-page.ui</file>
-    <file preprocess="xml-stripblanks">ide-preferences-window.ui</file>
     <file preprocess="xml-stripblanks">ide-primary-workspace.ui</file>
     <file preprocess="xml-stripblanks">ide-run-button.ui</file>
     <file preprocess="xml-stripblanks">ide-search-popover.ui</file>
diff --git a/src/libide/gui/libide-gui.h b/src/libide/gui/libide-gui.h
index b446980f8..332ecfbd8 100644
--- a/src/libide/gui/libide-gui.h
+++ b/src/libide/gui/libide-gui.h
@@ -32,13 +32,11 @@
 # include "ide-application.h"
 # include "ide-application-addin.h"
 # include "ide-application-tweaks.h"
-# include "ide-config-view-addin.h"
 # include "ide-environment-editor.h"
 # include "ide-frame.h"
 # include "ide-frame-addin.h"
 # include "ide-header-bar.h"
 # include "ide-grid.h"
-# include "ide-gui-enums.h"
 # include "ide-gui-global.h"
 # include "ide-header-bar.h"
 # include "ide-marked-view.h"
@@ -48,9 +46,6 @@
 # include "ide-page.h"
 # include "ide-pane.h"
 # include "ide-panel-position.h"
-# include "ide-preferences-addin.h"
-# include "ide-preferences-choice-row.h"
-# include "ide-preferences-window.h"
 # include "ide-primary-workspace.h"
 # include "ide-run-button.h"
 # include "ide-search-popover.h"
diff --git a/src/libide/gui/meson.build b/src/libide/gui/meson.build
index 2dd884132..951a645cc 100644
--- a/src/libide/gui/meson.build
+++ b/src/libide/gui/meson.build
@@ -11,7 +11,6 @@ libide_gui_generated_headers = []
 libide_gui_public_headers = [
   'ide-application.h',
   'ide-application-addin.h',
-  'ide-config-view-addin.h',
   'ide-environment-editor.h',
   'ide-frame.h',
   'ide-frame-addin.h',
@@ -25,9 +24,6 @@ libide_gui_public_headers = [
   'ide-page.h',
   'ide-pane.h',
   'ide-panel-position.h',
-  'ide-preferences-addin.h',
-  'ide-preferences-choice-row.h',
-  'ide-preferences-window.h',
   'ide-primary-workspace.h',
   'ide-run-button.h',
   'ide-search-popover.h',
@@ -53,7 +49,6 @@ libide_gui_private_headers = [
   'ide-notification-stack-private.h',
   'ide-notification-view-private.h',
   'ide-page-private.h',
-  'ide-preferences-builtin-private.h',
   'ide-recoloring-private.h',
   'ide-search-popover-private.h',
   'ide-session-private.h',
@@ -73,7 +68,6 @@ libide_gui_private_sources = [
   'ide-notification-list-box-row.c',
   'ide-notification-stack.c',
   'ide-notification-view.c',
-  'ide-preferences-builtin.c',
   'ide-recoloring.c',
   'ide-search-popover.c',
   'ide-session.c',
@@ -88,7 +82,6 @@ libide_gui_public_sources = [
   'ide-application-addin.c',
   'ide-application-command-line.c',
   'ide-application-open.c',
-  'ide-config-view-addin.c',
   'ide-environment-editor.c',
   'ide-frame-addin.c',
   'ide-frame.c',
@@ -103,9 +96,6 @@ libide_gui_public_sources = [
   'ide-pane.c',
   'ide-panel-position.c',
   'ide-primary-workspace.c',
-  'ide-preferences-addin.c',
-  'ide-preferences-choice-row.c',
-  'ide-preferences-window.c',
   'ide-run-button.c',
   'ide-session-addin.c',
   'ide-shortcut-provider.c',
@@ -129,25 +119,6 @@ libide_gui_resources = gnome.compile_resources(
 libide_gui_generated_headers += [libide_gui_resources[1]]
 libide_gui_sources += libide_gui_resources
 
-#
-# Enum generation
-#
-
-libide_gui_enum_headers = [
-  'ide-preferences-window.h',
-]
-
-libide_gui_enums = gnome.mkenums_simple('ide-gui-enums',
-     body_prefix: '#include "config.h"',
-   header_prefix: '#include <libide-core.h>',
-       decorator: '_IDE_EXTERN',
-         sources: libide_gui_enum_headers,
-  install_header: true,
-     install_dir: libide_gui_header_dir,
-)
-libide_gui_generated_headers += [libide_gui_enums[1]]
-libide_gui_sources += libide_gui_enums
-
 
 #
 # Dependencies
@@ -204,5 +175,3 @@ gnome_builder_private_sources += files(libide_gui_private_sources)
 gnome_builder_private_headers += files(libide_gui_private_headers)
 gnome_builder_include_subdirs += libide_gui_header_subdir
 gnome_builder_gir_extra_args += ['--c-include=libide-gui.h', '-DIDE_GUI_COMPILATION']
-
-subdir('tests')
diff --git a/src/libide/gui/style.css b/src/libide/gui/style.css
index 62fffdb3c..9805817d8 100644
--- a/src/libide/gui/style.css
+++ b/src/libide/gui/style.css
@@ -1,28 +1,3 @@
-/* Preferences */
-window.preferences list.boxed-list.style-variant button {
-  padding: 0;
-  margin: 0;
-  border: 3px solid transparent;
-  border-radius: 11px;
-  background: transparent;
-}
-window.preferences list.boxed-list.style-variant button:checked {
-  border-color: @theme_selected_bg_color;
-}
-.checkimage radio,
-.checkimage check {
-  background: none;
-  outline: none;
-  box-shadow: none;
-  border: none;
-  color: @window_fg_color;
-  -gtk-icon-source: none;
-  -gtk-icon-size: 18px;
-}
-.checkimage radio:checked,
-.checkimage check:checked {
-  -gtk-icon-source: -gtk-icontheme('object-select-symbolic');
-}
 stylevariantpreview widget.wallpaper {
   border-radius: 6px;
   box-shadow: 0 0 9px 1px rgba(0,0,0,.2);
diff --git a/src/plugins/buildui/buildui-plugin.c b/src/plugins/buildui/buildui-plugin.c
index 78998112d..662fd5530 100644
--- a/src/plugins/buildui/buildui-plugin.c
+++ b/src/plugins/buildui/buildui-plugin.c
@@ -26,26 +26,16 @@
 #include <libide-editor.h>
 #include <libide-gui.h>
 
-//#include "gbp-buildui-config-view-addin.h"
 #include "gbp-buildui-editor-page-addin.h"
-#include "gbp-buildui-preferences-addin.h"
 #include "gbp-buildui-tweaks-addin.h"
 #include "gbp-buildui-workspace-addin.h"
 
 _IDE_EXTERN void
 _gbp_buildui_register_types (PeasObjectModule *module)
 {
-#if 0
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_CONFIG_VIEW_ADDIN,
-                                              GBP_TYPE_BUILDUI_CONFIG_VIEW_ADDIN);
-#endif
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_PAGE_ADDIN,
                                               GBP_TYPE_BUILDUI_EDITOR_PAGE_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_BUILDUI_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               GBP_TYPE_BUILDUI_TWEAKS_ADDIN);
diff --git a/src/plugins/buildui/meson.build b/src/plugins/buildui/meson.build
index 12c5c46d1..a59ac0cc8 100644
--- a/src/plugins/buildui/meson.build
+++ b/src/plugins/buildui/meson.build
@@ -1,11 +1,9 @@
 plugins_sources += files([
   'buildui-plugin.c',
-  #'gbp-buildui-config-view-addin.c',
   'gbp-buildui-editor-page-addin.c',
   'gbp-buildui-log-pane.c',
   'gbp-buildui-omni-bar-section.c',
   'gbp-buildui-pane.c',
-  'gbp-buildui-preferences-addin.c',
   'gbp-buildui-runtime-categories.c',
   'gbp-buildui-runtime-row.c',
   'gbp-buildui-stage-row.c',
diff --git a/src/plugins/clang/clang-plugin.c b/src/plugins/clang/clang-plugin.c
index 7b72ba413..bac909a8d 100644
--- a/src/plugins/clang/clang-plugin.c
+++ b/src/plugins/clang/clang-plugin.c
@@ -35,7 +35,6 @@
 #include "ide-clang-completion-provider.h"
 #include "ide-clang-diagnostic-provider.h"
 #include "ide-clang-highlighter.h"
-#include "ide-clang-preferences-addin.h"
 #include "ide-clang-rename-provider.h"
 #include "ide-clang-symbol-node.h"
 #include "ide-clang-symbol-resolver.h"
@@ -60,9 +59,6 @@ _ide_clang_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               GTK_SOURCE_TYPE_COMPLETION_PROVIDER,
                                               IDE_TYPE_CLANG_COMPLETION_PROVIDER);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              IDE_TYPE_CLANG_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_RENAME_PROVIDER,
                                               IDE_TYPE_CLANG_RENAME_PROVIDER);
diff --git a/src/plugins/clang/meson.build b/src/plugins/clang/meson.build
index bc5554112..845aea064 100644
--- a/src/plugins/clang/meson.build
+++ b/src/plugins/clang/meson.build
@@ -9,7 +9,6 @@ plugins_sources += files([
   'ide-clang-completion-provider.c',
   'ide-clang-diagnostic-provider.c',
   'ide-clang-highlighter.c',
-  'ide-clang-preferences-addin.c',
   'ide-clang-proposals.c',
   'ide-clang-rename-provider.c',
   'ide-clang-symbol-node.c',
diff --git a/src/plugins/copyright/copyright-plugin.c b/src/plugins/copyright/copyright-plugin.c
index 09a682e78..d644bd753 100644
--- a/src/plugins/copyright/copyright-plugin.c
+++ b/src/plugins/copyright/copyright-plugin.c
@@ -25,7 +25,6 @@
 #include <libide-gui.h>
 
 #include "gbp-copyright-buffer-addin.h"
-#include "gbp-copyright-preferences-addin.h"
 #include "gbp-copyright-tweaks-addin.h"
 
 _IDE_EXTERN void
@@ -34,9 +33,6 @@ _gbp_copyright_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_BUFFER_ADDIN,
                                               GBP_TYPE_COPYRIGHT_BUFFER_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_COPYRIGHT_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               GBP_TYPE_COPYRIGHT_TWEAKS_ADDIN);
diff --git a/src/plugins/copyright/meson.build b/src/plugins/copyright/meson.build
index 1d8a9d10d..1053ec111 100644
--- a/src/plugins/copyright/meson.build
+++ b/src/plugins/copyright/meson.build
@@ -3,7 +3,6 @@ if get_option('plugin_copyright')
 plugins_sources += files(
   'copyright-plugin.c',
   'gbp-copyright-buffer-addin.c',
-  'gbp-copyright-preferences-addin.c',
   'gbp-copyright-tweaks-addin.c',
   'gbp-copyright-util.c',
 )
diff --git a/src/plugins/editorui/editorui-plugin.c b/src/plugins/editorui/editorui-plugin.c
index 96dcaed89..218a3d525 100644
--- a/src/plugins/editorui/editorui-plugin.c
+++ b/src/plugins/editorui/editorui-plugin.c
@@ -27,7 +27,6 @@
 #include <libide-gui.h>
 
 #include "gbp-editorui-application-addin.h"
-#include "gbp-editorui-preferences-addin.h"
 #include "gbp-editorui-tweaks-addin.h"
 #include "gbp-editorui-workbench-addin.h"
 #include "gbp-editorui-workspace-addin.h"
@@ -41,9 +40,6 @@ _gbp_editorui_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_APPLICATION_ADDIN,
                                               GBP_TYPE_EDITORUI_APPLICATION_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_EDITORUI_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               GBP_TYPE_EDITORUI_TWEAKS_ADDIN);
diff --git a/src/plugins/editorui/meson.build b/src/plugins/editorui/meson.build
index 5c1888237..50a08e17c 100644
--- a/src/plugins/editorui/meson.build
+++ b/src/plugins/editorui/meson.build
@@ -2,7 +2,6 @@ plugins_sources += files([
   'editorui-plugin.c',
   'gbp-editorui-application-addin.c',
   'gbp-editorui-position-label.c',
-  'gbp-editorui-preferences-addin.c',
   'gbp-editorui-preview.c',
   'gbp-editorui-scheme-selector.c',
   'gbp-editorui-tweaks-addin.c',
diff --git a/src/plugins/git/git-plugin.c b/src/plugins/git/git-plugin.c
index fa1803f2c..4a0cbd765 100644
--- a/src/plugins/git/git-plugin.c
+++ b/src/plugins/git/git-plugin.c
@@ -30,7 +30,6 @@
 #include "gbp-git-buffer-addin.h"
 #include "gbp-git-dependency-updater.h"
 #include "gbp-git-pipeline-addin.h"
-#include "gbp-git-preferences-addin.h"
 #include "gbp-git-tweaks-addin.h"
 #include "gbp-git-vcs-cloner.h"
 #include "gbp-git-vcs-config.h"
@@ -63,9 +62,6 @@ _gbp_git_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_WORKBENCH_ADDIN,
                                               GBP_TYPE_GIT_WORKBENCH_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_GIT_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               GBP_TYPE_GIT_TWEAKS_ADDIN);
diff --git a/src/plugins/git/meson.build b/src/plugins/git/meson.build
index 84be8da45..8ee538060 100644
--- a/src/plugins/git/meson.build
+++ b/src/plugins/git/meson.build
@@ -10,7 +10,6 @@ plugins_sources += files([
   'gbp-git-client.c',
   'gbp-git-dependency-updater.c',
   'gbp-git-pipeline-addin.c',
-  'gbp-git-preferences-addin.c',
   'gbp-git-progress.c',
   'gbp-git-submodule-stage.c',
   'gbp-git-tag.c',
diff --git a/src/plugins/meson/meson-plugin.c b/src/plugins/meson/meson-plugin.c
index 166a5c04a..8cf7b9d90 100644
--- a/src/plugins/meson/meson-plugin.c
+++ b/src/plugins/meson/meson-plugin.c
@@ -30,15 +30,10 @@
 #include "gbp-meson-build-system.h"
 #include "gbp-meson-build-system-discovery.h"
 #include "gbp-meson-build-target-provider.h"
-#include "gbp-meson-config-view-addin.h"
 #include "gbp-meson-pipeline-addin.h"
 #include "gbp-meson-run-command-provider.h"
 #include "gbp-meson-toolchain-provider.h"
 
-#if 0
-#include "gbp-meson-toolchain-edition-preferences-addin.h"
-#endif
-
 _IDE_EXTERN void
 _gbp_meson_register_types (PeasObjectModule *module)
 {
@@ -63,13 +58,4 @@ _gbp_meson_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TOOLCHAIN_PROVIDER,
                                               GBP_TYPE_MESON_TOOLCHAIN_PROVIDER);
-
-#if 0
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_MESON_TOOLCHAIN_EDITION_PREFERENCES_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_CONFIG_VIEW_ADDIN,
-                                              GBP_TYPE_MESON_CONFIG_VIEW_ADDIN);
-#endif
 }
diff --git a/src/plugins/meson/meson.build b/src/plugins/meson/meson.build
index b3df6d1fe..ccf1798f9 100644
--- a/src/plugins/meson/meson.build
+++ b/src/plugins/meson/meson.build
@@ -13,11 +13,6 @@ plugins_sources += files([
   'gbp-meson-toolchain.c',
   'gbp-meson-utils.c',
   'meson-plugin.c',
-
-  # 'gbp-meson-config-view-addin.c',
-  # 'gbp-meson-toolchain-edition-preferences-addin.c',
-  # 'gbp-meson-toolchain-edition-preferences-row.c',
-  # 'gbp-meson-tool-row.c',
 ])
 
 plugin_meson_resources = gnome.compile_resources(
diff --git a/src/plugins/quick-highlight/meson.build b/src/plugins/quick-highlight/meson.build
index da0b06e7e..f5db4ed4d 100644
--- a/src/plugins/quick-highlight/meson.build
+++ b/src/plugins/quick-highlight/meson.build
@@ -3,7 +3,6 @@ if get_option('plugin_quick_highlight')
 plugins_sources += files([
   'quick-highlight-plugin.c',
   'gbp-quick-highlight-editor-page-addin.c',
-  'gbp-quick-highlight-preferences.c',
 ])
 
 plugin_quick_highlight_resources = gnome.compile_resources(
diff --git a/src/plugins/quick-highlight/quick-highlight-plugin.c 
b/src/plugins/quick-highlight/quick-highlight-plugin.c
index 9dc527835..a6f4f48d9 100644
--- a/src/plugins/quick-highlight/quick-highlight-plugin.c
+++ b/src/plugins/quick-highlight/quick-highlight-plugin.c
@@ -21,10 +21,10 @@
 #include "config.h"
 
 #include <libpeas/peas.h>
+
 #include <libide-editor.h>
 
 #include "gbp-quick-highlight-editor-page-addin.h"
-#include "gbp-quick-highlight-preferences.h"
 
 _IDE_EXTERN void
 _gbp_quick_highlight_register_types (PeasObjectModule *module)
@@ -32,7 +32,4 @@ _gbp_quick_highlight_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_PAGE_ADDIN,
                                               GBP_TYPE_QUICK_HIGHLIGHT_EDITOR_PAGE_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_QUICK_HIGHLIGHT_PREFERENCES);
 }
diff --git a/src/plugins/rust-analyzer/meson.build b/src/plugins/rust-analyzer/meson.build
index 6a344df3b..1ab7775df 100644
--- a/src/plugins/rust-analyzer/meson.build
+++ b/src/plugins/rust-analyzer/meson.build
@@ -9,7 +9,6 @@ plugins_sources += files([
   'rust-analyzer-hover-provider.c',
   'rust-analyzer-pipeline-addin.c',
   'rust-analyzer-plugin.c',
-  'rust-analyzer-preferences-addin.c',
   'rust-analyzer-rename-provider.c',
   'rust-analyzer-search-provider.c',
   'rust-analyzer-service.c',
diff --git a/src/plugins/rust-analyzer/rust-analyzer-plugin.c 
b/src/plugins/rust-analyzer/rust-analyzer-plugin.c
index b7be7d12e..53a43edcb 100644
--- a/src/plugins/rust-analyzer/rust-analyzer-plugin.c
+++ b/src/plugins/rust-analyzer/rust-analyzer-plugin.c
@@ -31,7 +31,6 @@
 #include "rust-analyzer-highlighter.h"
 #include "rust-analyzer-hover-provider.h"
 #include "rust-analyzer-pipeline-addin.h"
-#include "rust-analyzer-preferences-addin.h"
 #include "rust-analyzer-rename-provider.h"
 #include "rust-analyzer-search-provider.h"
 #include "rust-analyzer-service.h"
@@ -74,9 +73,6 @@ _rust_analyzer_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_CODE_ACTION_PROVIDER,
                                               RUST_TYPE_ANALYZER_CODE_ACTION_PROVIDER);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              RUST_TYPE_ANALYZER_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               RUST_TYPE_ANALYZER_TWEAKS_ADDIN);
diff --git a/src/plugins/shellcmd/meson.build b/src/plugins/shellcmd/meson.build
index d8d591484..5033df65e 100644
--- a/src/plugins/shellcmd/meson.build
+++ b/src/plugins/shellcmd/meson.build
@@ -4,7 +4,6 @@ plugins_sources += files([
   'shellcmd-plugin.c',
   'gbp-shellcmd-command-dialog.c',
   'gbp-shellcmd-command-model.c',
-  'gbp-shellcmd-preferences-addin.c',
   'gbp-shellcmd-run-command.c',
   'gbp-shellcmd-run-command-provider.c',
   'gbp-shellcmd-search-provider.c',
diff --git a/src/plugins/shellcmd/shellcmd-plugin.c b/src/plugins/shellcmd/shellcmd-plugin.c
index f34d17b8c..ab59b2a9e 100644
--- a/src/plugins/shellcmd/shellcmd-plugin.c
+++ b/src/plugins/shellcmd/shellcmd-plugin.c
@@ -26,7 +26,6 @@
 #include <libide-gui.h>
 #include <libide-search.h>
 
-#include "gbp-shellcmd-preferences-addin.h"
 #include "gbp-shellcmd-run-command-provider.h"
 #include "gbp-shellcmd-search-provider.h"
 #include "gbp-shellcmd-shortcut-provider.h"
@@ -35,9 +34,6 @@
 _IDE_EXTERN void
 _gbp_shellcmd_register_types (PeasObjectModule *module)
 {
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_SHELLCMD_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_RUN_COMMAND_PROVIDER,
                                               GBP_TYPE_SHELLCMD_RUN_COMMAND_PROVIDER);
diff --git a/src/plugins/spellcheck/meson.build b/src/plugins/spellcheck/meson.build
index c55667e2e..48794211d 100644
--- a/src/plugins/spellcheck/meson.build
+++ b/src/plugins/spellcheck/meson.build
@@ -14,7 +14,6 @@ plugins_sources += files([
   'editor-text-buffer-spell-adapter.c',
   'gbp-spell-buffer-addin.c',
   'gbp-spell-editor-page-addin.c',
-  'gbp-spell-preferences-addin.c',
   'spellcheck-plugin.c',
 ])
 
diff --git a/src/plugins/spellcheck/spellcheck-plugin.c b/src/plugins/spellcheck/spellcheck-plugin.c
index e6605c76f..e07005f4c 100644
--- a/src/plugins/spellcheck/spellcheck-plugin.c
+++ b/src/plugins/spellcheck/spellcheck-plugin.c
@@ -27,7 +27,6 @@
 
 #include "gbp-spell-buffer-addin.h"
 #include "gbp-spell-editor-page-addin.h"
-#include "gbp-spell-preferences-addin.h"
 
 _IDE_EXTERN void
 _gbp_spellcheck_register_types (PeasObjectModule *module)
@@ -38,7 +37,4 @@ _gbp_spellcheck_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_PAGE_ADDIN,
                                               GBP_TYPE_SPELL_EDITOR_PAGE_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_SPELL_PREFERENCES_ADDIN);
 }
diff --git a/src/plugins/sysroot/meson.build b/src/plugins/sysroot/meson.build
index 17ebf301b..b5f7ede5b 100644
--- a/src/plugins/sysroot/meson.build
+++ b/src/plugins/sysroot/meson.build
@@ -3,8 +3,6 @@ if get_option('plugin_sysroot')
 plugins_sources += files([
   'sysroot-plugin.c',
   'gbp-sysroot-manager.c',
-  # 'gbp-sysroot-preferences-addin.c',
-  # 'gbp-sysroot-preferences-row.c',
   'gbp-sysroot-runtime.c',
   'gbp-sysroot-runtime-provider.c',
   'gbp-sysroot-toolchain-provider.c',
diff --git a/src/plugins/sysroot/sysroot-plugin.c b/src/plugins/sysroot/sysroot-plugin.c
index f0e8de3cb..351bfe344 100644
--- a/src/plugins/sysroot/sysroot-plugin.c
+++ b/src/plugins/sysroot/sysroot-plugin.c
@@ -29,21 +29,12 @@
 #include "gbp-sysroot-runtime-provider.h"
 #include "gbp-sysroot-toolchain-provider.h"
 
-#if 0
-#include "gbp-sysroot-preferences-addin.h"
-#endif
-
 _IDE_EXTERN void
 _gbp_sysroot_register_types (PeasObjectModule *module)
 {
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_RUNTIME_PROVIDER,
                                               GBP_TYPE_SYSROOT_RUNTIME_PROVIDER);
-#if 0
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_SYSROOT_PREFERENCES_ADDIN);
-#endif
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TOOLCHAIN_PROVIDER,
                                               GBP_TYPE_SYSROOT_TOOLCHAIN_PROVIDER);
diff --git a/src/plugins/testui/meson.build b/src/plugins/testui/meson.build
index 4d5470c6a..c8229bf1f 100644
--- a/src/plugins/testui/meson.build
+++ b/src/plugins/testui/meson.build
@@ -3,7 +3,6 @@ plugins_sources += files([
   'gbp-testui-item.c',
   'gbp-testui-output-panel.c',
   'gbp-testui-panel.c',
-  'gbp-testui-preferences-addin.c',
   'gbp-testui-workspace-addin.c',
 ])
 
diff --git a/src/plugins/testui/testui-plugin.c b/src/plugins/testui/testui-plugin.c
index 79c10b43e..3271126a5 100644
--- a/src/plugins/testui/testui-plugin.c
+++ b/src/plugins/testui/testui-plugin.c
@@ -26,15 +26,11 @@
 
 #include <libide-gui.h>
 
-#include "gbp-testui-preferences-addin.h"
 #include "gbp-testui-workspace-addin.h"
 
 _IDE_EXTERN void
 _gbp_testui_register_types (PeasObjectModule *module)
 {
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_TESTUI_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_WORKSPACE_ADDIN,
                                               GBP_TYPE_TESTUI_WORKSPACE_ADDIN);
diff --git a/src/plugins/vim/meson.build b/src/plugins/vim/meson.build
index 81cdd41a2..8c41c4906 100644
--- a/src/plugins/vim/meson.build
+++ b/src/plugins/vim/meson.build
@@ -1,7 +1,6 @@
 plugins_sources += files([
   'vim-plugin.c',
   'gbp-vim-editor-page-addin.c',
-  'gbp-vim-preferences-addin.c',
   'gbp-vim-tweaks-addin.c',
   'gbp-vim-workspace-addin.c',
 ])
diff --git a/src/plugins/vim/vim-plugin.c b/src/plugins/vim/vim-plugin.c
index 134a58c9e..07b8e1d11 100644
--- a/src/plugins/vim/vim-plugin.c
+++ b/src/plugins/vim/vim-plugin.c
@@ -30,7 +30,6 @@
 #include <libide-tweaks.h>
 
 #include "gbp-vim-editor-page-addin.h"
-#include "gbp-vim-preferences-addin.h"
 #include "gbp-vim-tweaks-addin.h"
 #include "gbp-vim-workspace-addin.h"
 
@@ -40,9 +39,6 @@ _gbp_vim_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_PAGE_ADDIN,
                                               GBP_TYPE_VIM_EDITOR_PAGE_ADDIN);
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_PREFERENCES_ADDIN,
-                                              GBP_TYPE_VIM_PREFERENCES_ADDIN);
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TWEAKS_ADDIN,
                                               GBP_TYPE_VIM_TWEAKS_ADDIN);


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