]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tempo-performer.cc
Doc: NR - Explain LP footer string is 'tagline'
[lilypond.git] / lily / tempo-performer.cc
index f69166e9c51987fb24d0dbfae7ad384d33d77661..b17e9202cbab8097392ec1a53cb5b440315f35ac 100644 (file)
@@ -61,10 +61,10 @@ void
 Tempo_performer::process_music ()
 {
   SCM w = get_property ("tempoWholesPerMinute");
-  if (Moment::is_smob (w)
+  if (unsmob<Moment> (w)
       && !ly_is_equal (w, last_tempo_))
     {
-      Rational r = Moment::unsmob (w)->main_part_;
+      Rational r = unsmob<Moment> (w)->main_part_;
       r *= Rational (4, 1);
 
       audio_ = new Audio_tempo (r.to_int ());