diff --git a/src/libsysprof-ui/sysprof-visualizer-list.c b/src/libsysprof-ui/sysprof-visualizer-list.c index 1673c63e..67c131cd 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 424e1cd5..4304e0dc 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