X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fapply-context-iterator.cc;h=0f6e6daff8b8a8d7aae140e700054e886a9b1c58;hb=7279e5754ac3b0f3c99018ae28ac7eb83a93fc79;hp=6f69bbc7b8e8843177122d3c51183d5db6897b70;hpb=58bcc84c9480dae1b21bc24d8396b91fe19e0131;p=lilypond.git diff --git a/lily/apply-context-iterator.cc b/lily/apply-context-iterator.cc index 6f69bbc7b8..0f6e6daff8 100644 --- a/lily/apply-context-iterator.cc +++ b/lily/apply-context-iterator.cc @@ -3,13 +3,14 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2005 Han-Wen Nienhuys + (c) 2004--2006 Han-Wen Nienhuys */ -#include "simple-music-iterator.hh" #include "context.hh" -#include "music.hh" #include "input.hh" +#include "international.hh" +#include "music.hh" +#include "simple-music-iterator.hh" /** Iterate a property. @@ -27,7 +28,7 @@ Apply_context_iterator::process (Moment m) { SCM proc = get_music ()->get_property ("procedure"); - if (ly_c_procedure_p (proc)) + if (ly_is_procedure (proc)) scm_call_1 (proc, get_outlet ()->self_scm ()); else get_music ()->origin ()->warning (_ ("\\applycontext argument is not a procedure"));