X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fpure-from-neighbor-interface.cc;h=e4be5c4db10f13510c2fce627e1922e024040374;hb=f5fe565be2b3662bc5fedb1f40a337c3ad0d08f4;hp=4f70da828b19aaf7ed693f04974a2254695b0180;hpb=c7f7e636a7adc0dc113a7349cfc0698b8dd2e2bc;p=lilypond.git diff --git a/lily/pure-from-neighbor-interface.cc b/lily/pure-from-neighbor-interface.cc index 4f70da828b..e4be5c4db1 100644 --- a/lily/pure-from-neighbor-interface.cc +++ b/lily/pure-from-neighbor-interface.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2011--2012 Mike Solomon + Copyright (C) 2011--2015 Mike Solomon LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ MAKE_SCHEME_CALLBACK (Pure_from_neighbor_interface, calc_pure_relevant_grobs, 1) SCM Pure_from_neighbor_interface::calc_pure_relevant_grobs (SCM smob) { - Grob *me = unsmob_grob (smob); + Grob *me = Grob::unsmob (smob); extract_grob_set ((me->original () && me->original ()->is_live () ? me->original () : me), @@ -42,10 +42,10 @@ Pure_from_neighbor_interface::calc_pure_relevant_grobs (SCM smob) new_elts.insert (new_elts.end (), elts.begin (), elts.end ()); SCM neighbors_scm = me->get_object ("neighbors"); - if (Grob_array::unsmob (neighbors_scm)) + if (Grob_array::is_smob (neighbors_scm)) { vector &arr - = unsmob_grob_array (neighbors_scm)->array_reference (); + = Grob_array::unsmob (neighbors_scm)->array_reference (); arr = new_elts; } @@ -53,8 +53,8 @@ Pure_from_neighbor_interface::calc_pure_relevant_grobs (SCM smob) } ADD_INTERFACE (Pure_from_neighbor_interface, - "A collection of routines to allow for objects' pure" - "heights and heights to be calculated based on the" + "A collection of routines to allow for objects' pure " + "heights and heights to be calculated based on the " "heights of the objects' neighbors.", /* properties */