]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lyric-performer.cc
(convert-to-dvi): redirect output to
[lilypond.git] / lily / lyric-performer.cc
index c0279b7cf997f67451eeb1c90d5c7c7f67e87558..9542f222ec87981718d8198f59ea2f8e9e99013b 100644 (file)
@@ -14,7 +14,7 @@
 
 class Lyric_performer : public Performer {
 public:
-  TRANSLATOR_DECLARATIONS(Lyric_performer);
+  TRANSLATOR_DECLARATIONS (Lyric_performer);
 protected:
 
   virtual bool try_music (Music* req);
@@ -40,11 +40,11 @@ Lyric_performer::create_audio_elements ()
 {
   // FIXME: won't work with fancy lyrics
   if (lreqs_.size ()
-      && gh_string_p (lreqs_[0]->get_mus_property ("text"))
-      && ly_scm2string (lreqs_[0]->get_mus_property ("text")).length ())
+      && scm_is_string (lreqs_[0]->get_property ("text"))
+      && ly_scm2string (lreqs_[0]->get_property ("text")).length ())
     {
       audio_ = new Audio_text (Audio_text::LYRIC,
-                                ly_scm2string (lreqs_[0]->get_mus_property ("text")));
+                                ly_scm2string (lreqs_[0]->get_property ("text")));
       Audio_element_info info (audio_, lreqs_[0]);
       announce_element (info);
     }
@@ -73,4 +73,4 @@ Lyric_performer::try_music (Music* req)
   return false;
 }
 
-ENTER_DESCRIPTION(Lyric_performer,"","","lyric-event","","","");
+ENTER_DESCRIPTION (Lyric_performer,"","","lyric-event","","","");