summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/ghostregion.cc12
-rw-r--r--gtk2_ardour/ghostregion.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc
index 0145aafc10..4c2f17d29d 100644
--- a/gtk2_ardour/ghostregion.cc
+++ b/gtk2_ardour/ghostregion.cc
@@ -204,13 +204,6 @@ MidiGhostRegion::Note::~Note()
//delete rect;
}
-void
-MidiGhostRegion::Note::x_changed()
-{
- rect->property_x1() = event->x1();
- rect->property_x2() = event->x2();
-}
-
MidiGhostRegion::Hit::Hit(ArdourCanvas::CanvasHit* h, ArdourCanvas::Group*)
: Event(h)
{
@@ -222,11 +215,6 @@ MidiGhostRegion::Hit::~Hit()
}
void
-MidiGhostRegion::Hit::x_changed()
-{
-}
-
-void
MidiGhostRegion::set_samples_per_unit (double /*spu*/)
{
}
diff --git a/gtk2_ardour/ghostregion.h b/gtk2_ardour/ghostregion.h
index 9f0442decb..f0198e3b17 100644
--- a/gtk2_ardour/ghostregion.h
+++ b/gtk2_ardour/ghostregion.h
@@ -80,7 +80,6 @@ public:
Event(ArdourCanvas::CanvasNoteEvent*);
virtual ~Event() {}
- virtual void x_changed() = 0;
ArdourCanvas::CanvasNoteEvent* event;
};
@@ -89,7 +88,6 @@ public:
Note(ArdourCanvas::CanvasNote*, ArdourCanvas::Group*);
~Note();
- void x_changed();
ArdourCanvas::SimpleRect* rect;
};
@@ -98,7 +96,6 @@ public:
Hit(ArdourCanvas::CanvasHit*, ArdourCanvas::Group*);
~Hit();
- void x_changed();
ArdourCanvas::Diamond* diamond;
};