Fix #6280 – region (first_frame()==0) selectable with SnapRegionBoundary
[ardour.git] / gtk2_ardour / audio_region_editor.h
index dd65a3fb31d48f4f919afb343b9e0208ce1cbcd2..4d8c9de9bc2b11345953135474b08e2bc2a6c225 100644 (file)
@@ -34,7 +34,6 @@
 #include <gtkmm/separator.h>
 #include <gtkmm/spinbutton.h>
 
-#include <libgnomecanvas/libgnomecanvas.h>
 
 #include "pbd/signals.h"
 #include "pbd/crossthread.h"
@@ -52,13 +51,13 @@ class AudioRegionView;
 
 class AudioRegionEditor : public RegionEditor
 {
-  public:
+public:
        AudioRegionEditor (ARDOUR::Session*, boost::shared_ptr<ARDOUR::AudioRegion>);
        ~AudioRegionEditor ();
 
        void peak_amplitude_thread ();
 
-  private:
+private:
 
        void region_changed (PBD::PropertyChange const &);
 
@@ -74,6 +73,7 @@ class AudioRegionEditor : public RegionEditor
        Gtk::Label _peak_amplitude_label;
        Gtk::Entry _peak_amplitude;
 
+       void signal_peak_thread ();
        pthread_t _peak_amplitude_thread_handle;
        void peak_amplitude_found (double);
        PBD::Signal1<void, double> PeakAmplitudeFound;