[sysprof] libsysprof-ui: remove profiler menu button



commit d81890d950586d309cef66ac01c35cd3b2428e4f
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 4 14:41:14 2019 -0700

    libsysprof-ui: remove profiler menu button

 src/libsysprof-ui/libsysprof-ui.gresource.xml      |   1 -
 src/libsysprof-ui/meson.build                      |   2 -
 src/libsysprof-ui/sysprof-profiler-menu-button.c   | 933 ---------------------
 src/libsysprof-ui/sysprof-profiler-menu-button.h   |  52 --
 src/libsysprof-ui/sysprof-ui.h                     |   1 -
 .../ui/sysprof-profiler-menu-button.ui             | 224 -----
 src/sysprof/sysprof-window.c                       |   1 -
 7 files changed, 1214 deletions(-)
---
diff --git a/src/libsysprof-ui/libsysprof-ui.gresource.xml b/src/libsysprof-ui/libsysprof-ui.gresource.xml
index 53f245c..b524fe7 100644
--- a/src/libsysprof-ui/libsysprof-ui.gresource.xml
+++ b/src/libsysprof-ui/libsysprof-ui.gresource.xml
@@ -23,7 +23,6 @@
     <file preprocess="xml-stripblanks">ui/sysprof-marks-view.ui</file>
     <file preprocess="xml-stripblanks">ui/sysprof-process-model-row.ui</file>
     <file preprocess="xml-stripblanks">ui/sysprof-profiler-assistant.ui</file>
-    <file preprocess="xml-stripblanks">ui/sysprof-profiler-menu-button.ui</file>
     <file preprocess="xml-stripblanks">ui/sysprof-recording-state-view.ui</file>
     <file preprocess="xml-stripblanks">ui/sysprof-tab.ui</file>
     <file preprocess="xml-stripblanks">ui/sysprof-time-label.ui</file>
diff --git a/src/libsysprof-ui/meson.build b/src/libsysprof-ui/meson.build
index fc9c947..da811e9 100644
--- a/src/libsysprof-ui/meson.build
+++ b/src/libsysprof-ui/meson.build
@@ -21,7 +21,6 @@ libsysprof_ui_public_sources = [
   'sysprof-process-model-row.c',
   'sysprof-proxy-aid.c',
   'sysprof-profiler-assistant.c',
-  'sysprof-profiler-menu-button.c',
   'sysprof-recording-state-view.c',
   'sysprof-visualizer-list.c',
   'sysprof-visualizer-row.c',
@@ -73,7 +72,6 @@ libsysprof_ui_public_headers = [
   'sysprof-process-model-row.h',
   'sysprof-proxy-aid.h',
   'sysprof-profiler-assistant.h',
-  'sysprof-profiler-menu-button.h',
   'sysprof-recording-state-view.h',
   'sysprof-visualizer-list.h',
   'sysprof-visualizer-row.h',
diff --git a/src/libsysprof-ui/sysprof-ui.h b/src/libsysprof-ui/sysprof-ui.h
index b724e06..49d9786 100644
--- a/src/libsysprof-ui/sysprof-ui.h
+++ b/src/libsysprof-ui/sysprof-ui.h
@@ -46,7 +46,6 @@ G_BEGIN_DECLS
 # include "sysprof-notebook.h"
 # include "sysprof-process-model-row.h"
 # include "sysprof-profiler-assistant.h"
-# include "sysprof-profiler-menu-button.h"
 # include "sysprof-proxy-aid.h"
 # include "sysprof-recording-state-view.h"
 # include "sysprof-visualizer-row.h"
diff --git a/src/sysprof/sysprof-window.c b/src/sysprof/sysprof-window.c
index a861acf..bbf90d5 100644
--- a/src/sysprof/sysprof-window.c
+++ b/src/sysprof/sysprof-window.c
@@ -192,7 +192,6 @@ sysprof_window_class_init (SysprofWindowClass *klass)
   gtk_widget_class_bind_template_child (widget_class, SysprofWindow, menu_button);
   gtk_widget_class_bind_template_child (widget_class, SysprofWindow, notebook);
 
-  g_type_ensure (SYSPROF_TYPE_PROFILER_MENU_BUTTON);
   g_type_ensure (SYSPROF_TYPE_NOTEBOOK);
   g_type_ensure (SYSPROF_TYPE_DISPLAY);
 }


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