]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/key-performer.cc
* lily/modified-font-metric.cc (text_dimension): try
[lilypond.git] / lily / key-performer.cc
index 4f0da8ae5b707b82a2276f2348e85473e0997f99..92f8f16f6628ffe360de7e2c8369742dabd4f785 100644 (file)
@@ -6,13 +6,10 @@
   (c) 1997--2004 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-#include "lily-guile.hh"
-
 #include "audio-item.hh"
 #include "performer.hh"
 #include "warn.hh"
 
-
 class Key_performer : public Performer
 {
 public:
@@ -45,7 +42,7 @@ Key_performer::create_audio_elements ()
   if (key_req_) 
     {
       SCM pitchlist = key_req_->get_property ("pitch-alist");
-      SCM proc = ly_scheme_function ("alterations-in-key");
+      SCM proc = ly_lily_module_constant ("alterations-in-key");
       
       SCM acc = scm_call_1 (proc, pitchlist);
       
@@ -96,7 +93,7 @@ Key_performer::try_music (Music* req)
   return false;
 }
 
-ENTER_DESCRIPTION (Key_performer,
+ADD_TRANSLATOR (Key_performer,
                  "","",
                  "key-change-event",
                  "","","");