]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-pitch-tuple.cc
* mf/feta-schrift.mf ("Trill (`tr')"): Fix typo.
[lilypond.git] / lily / grob-pitch-tuple.cc
index fc6e450f990cb1de8322e996ee91f9f1abd2c010..c112c5ebcbd15181a784f7b950e257b2a805c2a3 100644 (file)
@@ -3,13 +3,13 @@ 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 "musical-request.hh"
 
+#include "event.hh"
 
 int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b)
 {
@@ -21,14 +21,14 @@ int compare (Grob_pitch_tuple const &a, Grob_pitch_tuple const &b)
 
 Grob_pitch_tuple::Grob_pitch_tuple ()
 {
-  head_ =0;
+  head_ = 0;
   end_ = 0;
 }
 
 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_);
 }