]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/chord-name.cc
Fixes from mailist.
[lilypond.git] / lily / chord-name.cc
index ac7d92f4d7cba3d872e6bb80189590a734c2b7df..8ff3ffe763cbba2389e835da0e962d2d6290c1cb 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1999--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1999--2007 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include "chord-name.hh"
@@ -25,13 +25,15 @@ Chord_name::after_line_breaking (SCM smob)
   SCM s = me->get_property ("begin-of-line-visible");
   if (to_boolean (s))
     {
-      if (Paper_column::get_rank (me->get_column ())
+      if (me->get_column ()->get_rank ()
          - me->get_system ()->spanned_rank_iv ()[LEFT] > 1)
        me->suicide ();
     }
   return SCM_UNSPECIFIED;
 }
 
-ADD_INTERFACE (Chord_name, "chord-name-interface",
+ADD_INTERFACE (Chord_name,
               "A chord name.",
+
+              
               "begin-of-line-visible");