From 68c5f05704f3e276bfa1d9c64ee602baf99b84d1 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 Apr 2014 10:14:45 -0400 Subject: [PATCH] remove final reference to jack headers --- gtk2_ardour/editor_markers.cc | 2 +- gtk2_ardour/public_editor.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk2_ardour/editor_markers.cc b/gtk2_ardour/editor_markers.cc index 1b937dad7d..3cf3ef83b7 100644 --- a/gtk2_ardour/editor_markers.cc +++ b/gtk2_ardour/editor_markers.cc @@ -1469,7 +1469,7 @@ Editor::update_punch_range_view () if (_session->config.get_punch_in()) { transport_punch_range_rect->set_x0 (sample_to_pixel (tpl->start())); - transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (JACK_MAX_FRAMES)); + transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : sample_to_pixel (max_framepos)); } else { transport_punch_range_rect->set_x0 (0); transport_punch_range_rect->set_x1 (_session->config.get_punch_out() ? sample_to_pixel (tpl->end()) : v.width ()); diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index 9a1af4b577..f3b76e9310 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -32,7 +32,6 @@ #include #include #include -#include #include #include "evoral/types.hpp"