]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/slur-performer.cc
Issue 4865/2: Rewrite of new translator initializations
[lilypond.git] / lily / slur-performer.cc
index 222a9d75faa7eb487802e17cef96c96ac36ce466..c1d8de3bb4f6ca981d6d71adcde5bb217b15e4df 100644 (file)
@@ -83,7 +83,6 @@ Slur_performer::start_translation_timestep ()
   now_stop_ev_ = 0;
 }
 
-IMPLEMENT_TRANSLATOR_LISTENER (Slur_performer, slur);
 void
 Slur_performer::listen_slur (Stream_event *ev)
 {
@@ -95,6 +94,12 @@ Slur_performer::listen_slur (Stream_event *ev)
     now_stop_ev_ = ev;
 }
 
+void
+Slur_performer::boot ()
+{
+  ADD_LISTENER (Slur_performer, slur);
+}
+
 ADD_TRANSLATOR (Slur_performer,
                 /* doc */
                 "",