summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-hit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/canvas-hit.cc')
-rw-r--r--gtk2_ardour/canvas-hit.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/canvas-hit.cc b/gtk2_ardour/canvas-hit.cc
index 03b7a04043..f00e113462 100644
--- a/gtk2_ardour/canvas-hit.cc
+++ b/gtk2_ardour/canvas-hit.cc
@@ -14,21 +14,21 @@ CanvasHit::CanvasHit (MidiRegionView& region,
double size,
const boost::shared_ptr<NoteType> note,
bool with_events)
- : Diamond(group, size)
- , CanvasNoteEvent(region, this, note)
+ : Diamond(group, size)
+ , CanvasNoteEvent(region, this, note)
{
- if (with_events) {
- signal_event().connect (sigc::mem_fun (*this, &CanvasHit::on_event));
- }
+ if (with_events) {
+ signal_event().connect (sigc::mem_fun (*this, &CanvasHit::on_event));
+ }
}
bool
CanvasHit::on_event(GdkEvent* ev)
{
- if (!CanvasNoteEvent::on_event (ev)) {
- return _region.get_time_axis_view().editor().canvas_note_event (ev, this);
+ if (!CanvasNoteEvent::on_event (ev)) {
+ return _region.get_time_axis_view().editor().canvas_note_event (ev, this);
}
- return true;
+ return true;
}
void