]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/tie-performer.cc
Issue 4865/2: Rewrite of new translator initializations
[lilypond.git] / lily / tie-performer.cc
index b1aa15ffeb645451287259cbbf0dc41ad29568e2..51fcf07193a1eb34f7e57053114a0c3783cce099 100644 (file)
@@ -61,7 +61,6 @@ Tie_performer::Tie_performer ()
   event_ = 0;
 }
 
-IMPLEMENT_TRANSLATOR_LISTENER (Tie_performer, tie);
 void
 Tie_performer::listen_tie (Stream_event *ev)
 {
@@ -184,6 +183,12 @@ Tie_performer::stop_translation_timestep ()
   now_tied_heads_.clear ();
 }
 
+void
+Tie_performer::boot ()
+{
+  ADD_LISTENER (Tie_performer, tie);
+}
+
 ADD_TRANSLATOR (Tie_performer,
                 /* doc */
                 "Generate ties between note heads of equal pitch.",