X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fclef-modifier.cc;h=c6ce950fc04a64ab5a6abf28bdaa05fda706876f;hb=750b714488c5af6eae22d07163bba8b554734ac6;hp=c56b935a16155eff89655acdd564f213a0ddcad9;hpb=324ff94afc62c7011b7377f24392f95391ed3b84;p=lilypond.git diff --git a/lily/clef-modifier.cc b/lily/clef-modifier.cc index c56b935a16..c6ce950fc0 100644 --- a/lily/clef-modifier.cc +++ b/lily/clef-modifier.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 2014--2014 Janek Warchoł + Copyright (C) 2014--2015 Janek Warchoł LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -22,14 +22,13 @@ struct Clef_modifier { DECLARE_SCHEME_CALLBACK (calc_parent_alignment, (SCM)); - DECLARE_GROB_INTERFACE (); }; MAKE_SCHEME_CALLBACK (Clef_modifier, calc_parent_alignment, 1) SCM Clef_modifier::calc_parent_alignment (SCM smob) { - Grob *me = Grob::unsmob (smob); + Grob *me = unsmob (smob); Grob *clef = me->get_parent (X_AXIS); string full_clef_name = ly_scm2string (clef->get_property ("glyph")); string clef_name = replace_all(&full_clef_name, "clefs.", "");