[gnome-builder/wip/chergert/bug1: 68/101] debugger: remove old perpsective related code



commit f71b395ad0c03df18781e43e884b917b1fd2b272
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 29 01:33:08 2017 -0700

    debugger: remove old perpsective related code

 data/gtk/menus.ui                              |   10 -
 libide/debugger/ide-debugger-perspective.c     |  634 ------------------------
 libide/debugger/ide-debugger-perspective.h     |   40 --
 libide/debugger/ide-debugger-perspective.ui    |  103 ----
 libide/debugger/ide-debugger-plugin.c          |   17 -
 libide/debugger/ide-debugger-workbench-addin.c |  287 -----------
 libide/debugger/ide-debugger-workbench-addin.h |   29 --
 libide/libide.gresource.xml                    |    1 -
 libide/meson.build                             |    4 -
 9 files changed, 0 insertions(+), 1125 deletions(-)
---
diff --git a/data/gtk/menus.ui b/data/gtk/menus.ui
index 355c5f9..39df13c 100644
--- a/data/gtk/menus.ui
+++ b/data/gtk/menus.ui
@@ -51,16 +51,6 @@
         <attribute name="target">editor</attribute>
         <attribute name="verb-icon-name">builder-editor-symbolic</attribute>
       </item>
-      <item>
-        <attribute name="accel">&lt;alt&gt;2</attribute>
-        <attribute name="action">win.perspective</attribute>
-        <attribute name="after">perspective-menu-editor</attribute>
-        <attribute name="id">perspective-menu-debugger</attribute>
-        <attribute name="label" translatable="yes">Debugger</attribute>
-        <attribute name="role">normal</attribute>
-        <attribute name="target">debugger</attribute>
-        <attribute name="verb-icon-name">builder-debugger-symbolic</attribute>
-      </item>
     </section>
     <section id="perspectives-menu-prefs-section">
       <item>
diff --git a/libide/debugger/ide-debugger-plugin.c b/libide/debugger/ide-debugger-plugin.c
index 92f1a5a..07c7430 100644
--- a/libide/debugger/ide-debugger-plugin.c
+++ b/libide/debugger/ide-debugger-plugin.c
@@ -18,30 +18,13 @@
 
 #include <libpeas/peas.h>
 
-#if 0
-#include "debugger/ide-debugger-editor-view-addin.h"
-#endif
 #include "debugger/ide-debugger-editor-addin.h"
-#include "debugger/ide-debugger-workbench-addin.h"
 #include "editor/ide-editor-addin.h"
-#include "editor/ide-editor-view-addin.h"
-#include "workbench/ide-workbench-addin.h"
 
 void
 ide_debugger_register_types (PeasObjectModule *module)
 {
-#if 0
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_EDITOR_VIEW_ADDIN,
-                                              IDE_TYPE_DEBUGGER_EDITOR_VIEW_ADDIN);
-#endif
-
   peas_object_module_register_extension_type (module,
                                               IDE_TYPE_EDITOR_ADDIN,
                                               IDE_TYPE_DEBUGGER_EDITOR_ADDIN);
-#if 0
-  peas_object_module_register_extension_type (module,
-                                              IDE_TYPE_WORKBENCH_ADDIN,
-                                              IDE_TYPE_DEBUGGER_WORKBENCH_ADDIN);
-#endif
 }
diff --git a/libide/libide.gresource.xml b/libide/libide.gresource.xml
index 73e6457..b498a91 100644
--- a/libide/libide.gresource.xml
+++ b/libide/libide.gresource.xml
@@ -60,7 +60,6 @@
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-disassembly-view.ui">debugger/ide-debugger-disassembly-view.ui</file>
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-libraries-view.ui">debugger/ide-debugger-libraries-view.ui</file>
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-locals-view.ui">debugger/ide-debugger-locals-view.ui</file>
-    <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-perspective.ui">debugger/ide-debugger-perspective.ui</file>
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-registers-view.ui">debugger/ide-debugger-registers-view.ui</file>
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-threads-view.ui">debugger/ide-debugger-threads-view.ui</file>
     <file compressed="true" preprocess="xml-stripblanks" 
alias="ide-debugger-view.ui">debugger/ide-debugger-view.ui</file>
diff --git a/libide/meson.build b/libide/meson.build
index b889b0b..6fa0a32 100644
--- a/libide/meson.build
+++ b/libide/meson.build
@@ -90,7 +90,6 @@ libide_public_headers = [
   'debugger/ide-debugger-frame.h',
   'debugger/ide-debugger-instruction.h',
   'debugger/ide-debugger-library.h',
-  'debugger/ide-debugger-perspective.h',
   'debugger/ide-debugger-register.h',
   'debugger/ide-debugger-thread-group.h',
   'debugger/ide-debugger-thread.h',
@@ -307,7 +306,6 @@ libide_public_sources = [
   'debugger/ide-debugger-frame.c',
   'debugger/ide-debugger-instruction.c',
   'debugger/ide-debugger-library.c',
-  'debugger/ide-debugger-perspective.c',
   'debugger/ide-debugger-register.c',
   'debugger/ide-debugger-thread-group.c',
   'debugger/ide-debugger-thread.c',
@@ -540,8 +538,6 @@ libide_sources = libide_generated_headers + libide_public_sources + [
   'debugger/ide-debugger-threads-view.h',
   'debugger/ide-debugger-view.c',
   'debugger/ide-debugger-view.h',
-  'debugger/ide-debugger-workbench-addin.c',
-  'debugger/ide-debugger-workbench-addin.h',
   'editor/ide-editor-layout-stack-addin.c',
   'editor/ide-editor-layout-stack-addin.h',
   'editor/ide-editor-layout-stack-controls.c',


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