[sysprof] libsysprof-ui: cleanup



commit 5f5920a6d4fe788cfb0080568b715470a82f4f89
Author: Christian Hergert <chergert redhat com>
Date:   Tue May 14 13:05:47 2019 -0700

    libsysprof-ui: cleanup

 src/libsysprof-ui/sysprof-visualizer-list.c |  3 +--
 src/libsysprof-ui/sysprof-visualizer-view.c | 11 ++++-------
 2 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-visualizer-list.c b/src/libsysprof-ui/sysprof-visualizer-list.c
index 1673c63..67c131c 100644
--- a/src/libsysprof-ui/sysprof-visualizer-list.c
+++ b/src/libsysprof-ui/sysprof-visualizer-list.c
@@ -31,8 +31,7 @@
 #include "sysprof-mark-visualizer-row.h"
 #include "sysprof-zoom-manager.h"
 
-#define NSEC_PER_SEC              G_GUINT64_CONSTANT(1000000000)
-#define DEFAULT_PIXELS_PER_SECOND 20
+#define NSEC_PER_SEC G_GUINT64_CONSTANT(1000000000)
 
 typedef struct
 {
diff --git a/src/libsysprof-ui/sysprof-visualizer-view.c b/src/libsysprof-ui/sysprof-visualizer-view.c
index 424e1cd..4304e0d 100644
--- a/src/libsysprof-ui/sysprof-visualizer-view.c
+++ b/src/libsysprof-ui/sysprof-visualizer-view.c
@@ -31,9 +31,6 @@
 #include "sysprof-visualizer-ticks.h"
 #include "sysprof-visualizer-view.h"
 
-#define NSEC_PER_SEC G_GINT64_CONSTANT(1000000000)
-#define DEFAULT_PIXELS_PER_SECOND 20
-
 typedef struct
 {
   SysprofCaptureReader       *reader;
@@ -41,13 +38,13 @@ typedef struct
   SysprofSelection           *selection;
 
   SysprofVisualizerList      *list;
-  GtkScrolledWindow     *scroller;
+  GtkScrolledWindow          *scroller;
   SysprofVisualizerTicks     *ticks;
 
-  gint64                 drag_begin_at;
-  gint64                 drag_selection_at;
+  gint64                      drag_begin_at;
+  gint64                      drag_selection_at;
 
-  guint                  button_pressed : 1;
+  guint                       button_pressed : 1;
 } SysprofVisualizerViewPrivate;
 
 typedef struct


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