X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrace-music.cc;h=cf71a7950535eb736855e0241dfb48ad5d1163b2;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=503fa08ae787bcac7dbbd50ba2aed907a67a4907;hpb=e18531db1f79fb685fbd16d6a2a67bf4b6c09915;p=lilypond.git diff --git a/lily/grace-music.cc b/lily/grace-music.cc index 503fa08ae7..cf71a79505 100644 --- a/lily/grace-music.cc +++ b/lily/grace-music.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2010 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 @@ -30,7 +30,7 @@ MAKE_SCHEME_CALLBACK (Grace_music, start_callback, 1); SCM Grace_music::start_callback (SCM m) { - Moment *l = unsmob_moment (Music_wrapper::length_callback (m)); + Moment *l = Moment::unsmob (Music_wrapper::length_callback (m)); Moment gl; gl.grace_part_ = -(l->main_part_ + l->grace_part_); return gl.smobbed_copy ();