Prevent note creation drags with no movement of the pointer. May fix #3159.
[ardour.git] / gtk2_ardour / crossfade_edit.h
index 7334002abd8a677b7ad3681676e28d414bfd9088..fab459c54fead1fdfbce9b9e245e67955721f2cf 100644 (file)
@@ -183,7 +183,8 @@ class CrossfadeEditor : public ArdourDialog
 
        void set (const ARDOUR::AutomationList& alist, WhichFade);
 
-       boost::signals2::scoped_connection peaks_ready_connection;
+       PBD::ScopedConnection* _peaks_ready_connection;
+       PBD::ScopedConnection state_connection;
 
        void make_waves (boost::shared_ptr<ARDOUR::AudioRegion>, WhichFade);
        void peaks_ready (boost::weak_ptr<ARDOUR::AudioRegion> r, WhichFade);
@@ -212,7 +213,7 @@ class CrossfadeEditor : public ArdourDialog
        void audition_right_dry ();
        void audition_right ();
 
-       void xfade_changed (ARDOUR::Change);
+       void xfade_changed (const PBD::PropertyChange&);
 
        void dump ();
 };