projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
introduce the notion that note additions and property changes can cause the removal...
[ardour.git]
/
gtk2_ardour
/
audio_clock.cc
diff --git
a/gtk2_ardour/audio_clock.cc
b/gtk2_ardour/audio_clock.cc
index bdf0ceda33fafa4f948ca0045a39371761b85460..be1bb97713b763e5d9e97cc5facda2a2e7b4ac90 100644
(file)
--- a/
gtk2_ardour/audio_clock.cc
+++ b/
gtk2_ardour/audio_clock.cc
@@
-65,7
+65,7
@@
const uint32_t AudioClock::field_length[(int) AudioClock::AudioFrames+1] = {
10 /* Audio Frame */
};
10 /* Audio Frame */
};
-AudioClock::AudioClock (
std::string clock_name, bool transient, std::string
widget_name,
+AudioClock::AudioClock (
const string& clock_name, bool transient, const string&
widget_name,
bool allow_edit, bool follows_playhead, bool duration, bool with_info)
: _name (clock_name),
is_transient (transient),
bool allow_edit, bool follows_playhead, bool duration, bool with_info)
: _name (clock_name),
is_transient (transient),
@@
-215,7
+215,7
@@
AudioClock::AudioClock (std::string clock_name, bool transient, std::string widg
clock_base.add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::SCROLL_MASK);
clock_base.signal_button_release_event().connect (sigc::bind (sigc::mem_fun (*this, &AudioClock::field_button_release_event), Timecode_Hours));
clock_base.add_events (Gdk::BUTTON_PRESS_MASK|Gdk::BUTTON_RELEASE_MASK|Gdk::SCROLL_MASK);
clock_base.signal_button_release_event().connect (sigc::bind (sigc::mem_fun (*this, &AudioClock::field_button_release_event), Timecode_Hours));
- Session::TimecodeOffsetChanged.connect (_session_connections, boost::bind (&AudioClock::timecode_offset_changed, this), gui_context());
+ Session::TimecodeOffsetChanged.connect (_session_connections,
invalidator (*this),
boost::bind (&AudioClock::timecode_offset_changed, this), gui_context());
if (editable) {
setup_events ();
if (editable) {
setup_events ();