[gnome-builder/wip/gtk4-port] plugins/buildui: Trivially enable the plugin



commit 4857369d3225adb93051fb34485ffaee7dfbef46
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Apr 25 23:36:11 2022 -0300

    plugins/buildui: Trivially enable the plugin
    
    Nothing is compiled yet. I'll be porting each object and widget
    individually, for the reviewer's convenience

 src/plugins/buildui/buildui-plugin.c | 10 ++++++----
 src/plugins/buildui/meson.build      | 22 +++++++++++-----------
 src/plugins/meson.build              |  2 +-
 3 files changed, 18 insertions(+), 16 deletions(-)
---
diff --git a/src/plugins/buildui/buildui-plugin.c b/src/plugins/buildui/buildui-plugin.c
index ed8059117..8ab3f9a9e 100644
--- a/src/plugins/buildui/buildui-plugin.c
+++ b/src/plugins/buildui/buildui-plugin.c
@@ -27,14 +27,15 @@
 #include <libide-gui.h>
 #include <libide-tree.h>
 
-#include "gbp-buildui-config-view-addin.h"
-#include "gbp-buildui-editor-page-addin.h"
-#include "gbp-buildui-workspace-addin.h"
-#include "gbp-buildui-tree-addin.h"
+//#include "gbp-buildui-config-view-addin.h"
+//#include "gbp-buildui-editor-page-addin.h"
+//#include "gbp-buildui-workspace-addin.h"
+//#include "gbp-buildui-tree-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);
@@ -47,4 +48,5 @@ _gbp_buildui_register_types (PeasObjectModule *module)
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_TREE_ADDIN,
                                               GBP_TYPE_BUILDUI_TREE_ADDIN);
+#endif
 }
diff --git a/src/plugins/buildui/meson.build b/src/plugins/buildui/meson.build
index 6524ce012..3629d0a6f 100644
--- a/src/plugins/buildui/meson.build
+++ b/src/plugins/buildui/meson.build
@@ -1,16 +1,16 @@
 plugins_sources += files([
   'buildui-plugin.c',
-  'gbp-buildui-config-surface.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-runtime-categories.c',
-  'gbp-buildui-runtime-row.c',
-  'gbp-buildui-stage-row.c',
-  'gbp-buildui-tree-addin.c',
-  'gbp-buildui-workspace-addin.c',
+  #'gbp-buildui-config-surface.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-runtime-categories.c',
+  #'gbp-buildui-runtime-row.c',
+  #'gbp-buildui-stage-row.c',
+  #'gbp-buildui-tree-addin.c',
+  #'gbp-buildui-workspace-addin.c',
 ])
 
 plugin_buildui_resources = gnome.compile_resources(
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index 8b9f89bcb..b538118d5 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -41,7 +41,7 @@ subdir('blueprint')
 subdir('buildconfig')
 subdir('buildstream')
 subdir('buildsystem')
-#subdir('buildui')
+subdir('buildui')
 subdir('buffer-monitor')
 subdir('cargo')
 subdir('clang')


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