X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fchord-name.cc;h=2fcff940bbd81e2d607ca8fea39c69f8b83edf25;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=708712811e1c6f300123a785a494d9250c17f700;hpb=b7a0cffbf9d1069860368f289a5b50e9d1d90ba8;p=lilypond.git diff --git a/lily/chord-name.cc b/lily/chord-name.cc index 708712811e..2fcff940bb 100644 --- a/lily/chord-name.cc +++ b/lily/chord-name.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2009 Jan Nieuwenhuizen + Copyright (C) 1999--2015 Jan Nieuwenhuizen LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -30,22 +30,22 @@ MAKE_SCHEME_CALLBACK (Chord_name, after_line_breaking, 1); SCM Chord_name::after_line_breaking (SCM smob) { - Item *me = unsmob_item (smob); + Item *me = Item::unsmob (smob); assert (me); SCM s = me->get_property ("begin-of-line-visible"); if (to_boolean (s)) { if (me->get_column ()->get_rank () - - me->get_system ()->spanned_rank_interval ()[LEFT] > 1) - me->suicide (); + - me->get_system ()->spanned_rank_interval ()[LEFT] > 1) + me->suicide (); } return SCM_UNSPECIFIED; } ADD_INTERFACE (Chord_name, - "A chord label (name or fretboard).", + "A chord label (name or fretboard).", - /* properties */ - "begin-of-line-visible " - ); + /* properties */ + "begin-of-line-visible " + );