]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pitch-squash-engraver.cc
(simultaneous_relative_callback): do
[lilypond.git] / lily / pitch-squash-engraver.cc
index 3acff5c995f39144c26e5590d6c38855580af403..3c8a7b7c9f42f8abafe9967e96060b0411eb3aae 100644 (file)
@@ -3,7 +3,7 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1997--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 #include "staff-symbol-referencer.hh"
@@ -22,7 +22,7 @@ void
 Pitch_squash_engraver::acknowledge_grob (Grob_info i)
 {
   SCM newpos = get_property ("squashedPosition");
-  if (ly_c_number_p (newpos)
+  if (scm_is_number (newpos)
       && Note_head::has_interface (i.grob_))
     {
       i.grob_->set_property ("staff-position", newpos);
@@ -35,7 +35,7 @@ Pitch_squash_engraver::Pitch_squash_engraver ()
 {
 }
 
-ENTER_DESCRIPTION (Pitch_squash_engraver,
+ADD_TRANSLATOR (Pitch_squash_engraver,
 /* descr */       
                  "Set the vertical position of noteheads to "
                  "@code{squashedPosition}, if that "