diff --git a/gtk2_ardour/audio_clock.cc b/gtk2_ardour/audio_clock.cc index 0be3859e2d..1a2e3cb220 100644 --- a/gtk2_ardour/audio_clock.cc +++ b/gtk2_ardour/audio_clock.cc @@ -68,7 +68,6 @@ using namespace Temporal; using Gtkmm2ext::Keyboard; -sigc::signal AudioClock::ModeChanged; vector AudioClock::clocks; #define BBT_BAR_CHAR "|" @@ -79,7 +78,6 @@ AudioClock::AudioClock (const string& clock_name, bool transient, const string& bool accept_on_focus_out) : ops_menu (0) , _name (clock_name) - , is_transient (transient) , is_duration (duration) , editable (allow_edit) , _follows_playhead (follows_playhead) @@ -120,7 +118,7 @@ AudioClock::AudioClock (const string& clock_name, bool transient, const string& set_mode (Timecode); AudioClock::set (last_when(), true); - if (!is_transient) { + if (!transient) { clocks.push_back (this); } @@ -2314,10 +2312,6 @@ AudioClock::set_mode (Mode m, bool noemit) AudioClock::set (last_when(), true); - if (!is_transient && !noemit) { - ModeChanged (); /* EMIT SIGNAL (the static one)*/ - } - mode_changed (); /* EMIT SIGNAL (the member one) */ } diff --git a/gtk2_ardour/audio_clock.h b/gtk2_ardour/audio_clock.h index f1b7cff6c6..70920201c8 100644 --- a/gtk2_ardour/audio_clock.h +++ b/gtk2_ardour/audio_clock.h @@ -108,7 +108,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr sigc::signal mode_changed; sigc::signal ChangeAborted; - static sigc::signal ModeChanged; static std::vector clocks; protected: @@ -127,7 +126,6 @@ class AudioClock : public CairoWidget, public ARDOUR::SessionHandlePtr private: Mode _mode; std::string _name; - bool is_transient; bool is_duration; bool editable; /** true if this clock follows the playhead, meaning that certain operations are redundant */