Remove unused code.
authorCarl Hetherington <carl@carlh.net>
Mon, 28 Feb 2011 03:59:51 +0000 (03:59 +0000)
committerCarl Hetherington <carl@carlh.net>
Mon, 28 Feb 2011 03:59:51 +0000 (03:59 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@8984 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ghostregion.cc
gtk2_ardour/ghostregion.h

index 0145aafc101faae3f7a716bb1f0c77e595cc95d3..4c2f17d29d0c0c659da9b86d741b6c59ee887d3f 100644 (file)
@@ -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*/)
 {
index 9f0442decb1c7fc35eee87e431ab67e347d346d1..f0198e3b17cd401b621fcefbecdbe2de8be16a5c 100644 (file)
@@ -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;
        };