From 60f48d24f40e6d73b1ccf5dc2885d45570626212 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 28 Feb 2011 03:59:51 +0000 Subject: [PATCH] Remove unused code. git-svn-id: svn://localhost/ardour2/branches/3.0@8984 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ghostregion.cc | 12 ------------ gtk2_ardour/ghostregion.h | 3 --- 2 files changed, 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) { @@ -221,11 +214,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; };