X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fstaff-symbol-referencer.cc;h=09b3d2856ec5405162e50f58e817a2e784933cce;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=3b8aa6ba187698bb8ea6a92f1580c3069c9f787e;hpb=ac1f5ee6bc66e39e4fec27434ebb7c7300bab71e;p=lilypond.git diff --git a/lily/staff-symbol-referencer.cc b/lily/staff-symbol-referencer.cc index 3b8aa6ba18..09b3d2856e 100644 --- a/lily/staff-symbol-referencer.cc +++ b/lily/staff-symbol-referencer.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2012 Han-Wen Nienhuys + Copyright (C) 1999--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -48,11 +48,11 @@ Staff_symbol_referencer::on_staff_line (Grob *me, int pos) Grob * Staff_symbol_referencer::get_staff_symbol (Grob *me) { - if (Staff_symbol::has_interface (me)) + if (has_interface (me)) return me; SCM st = me->get_object ("staff-symbol"); - return unsmob_grob (st); + return unsmob (st); } Real @@ -138,7 +138,7 @@ MAKE_SCHEME_CALLBACK (Staff_symbol_referencer, callback, 1); SCM Staff_symbol_referencer::callback (SCM smob) { - Grob *me = unsmob_grob (smob); + Grob *me = unsmob (smob); SCM pos = me->get_property ("staff-position"); Real off = 0.0;