]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-pitch-tuple.cc
* ps/lilyponddefs.ps: Remove automatic page layout.
[lilypond.git] / lily / grob-pitch-tuple.cc
index f55c4f4b7f5425e8e048074baf75173cf4fc5625..fd3f9953c1a2bac771997424cc3a1ca7916ca573 100644 (file)
@@ -3,12 +3,12 @@ grob-pitch-tuple.cc --  implement Grob_pitch_tuple
 
 source file of the GNU LilyPond music typesetter
 
-(c) 2001--2002  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+(c) 2001--2004  Han-Wen Nienhuys <hanwen@cs.uu.nl>
 
  */
 #include "grob-pitch-tuple.hh"
 #include "pitch.hh"
-#include "request.hh"
+#include "event.hh"
 
 
 int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b)
@@ -28,7 +28,7 @@ Grob_pitch_tuple::Grob_pitch_tuple ()
 Grob_pitch_tuple::Grob_pitch_tuple (Grob *h, Music *m, Moment mom)
 {
   head_ = h;
-  pitch_ = *unsmob_pitch (m->get_mus_property ("pitch"));
+  pitch_ = *unsmob_pitch (m->get_property ("pitch"));
   end_ = mom;
 }
 
@@ -46,5 +46,5 @@ int
 Grob_pitch_tuple::time_compare (Grob_pitch_tuple const&h1,
                                   Grob_pitch_tuple const &h2)
 {
-  return Moment::compare(h1.end_,  h2.end_);
+  return Moment::compare (h1.end_,  h2.end_);
 }