[sysprof/wip/chergert/sysprof-3] libsysprof-ui: cleanup
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] libsysprof-ui: cleanup
- Date: Tue, 14 May 2019 20:07:28 +0000 (UTC)
commit c3b4322d44831f57f6e1075afa8bf2f6e93ade9f
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]