X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fgrob-pq-engraver.cc;h=a9fa75eda51d9708252519adc7f7e34b89ad9927;hb=97a0169312a260933246ab224e4f8b0969871dd5;hp=4c388c5145baead6ccea5c20d3503dea18a2fe70;hpb=dbaf1e56e37be0e204231c5bf1adcb14bd8ac3b8;p=lilypond.git diff --git a/lily/grob-pq-engraver.cc b/lily/grob-pq-engraver.cc index 4c388c5145..a9fa75eda5 100644 --- a/lily/grob-pq-engraver.cc +++ b/lily/grob-pq-engraver.cc @@ -42,7 +42,7 @@ public: TRANSLATOR_DECLARATIONS (Grob_pq_engraver); protected: virtual void initialize (); - DECLARE_ACKNOWLEDGER (grob); + void acknowledge_grob (Grob_info); void start_translation_timestep (); void stop_translation_timestep (); void process_acknowledged (); @@ -50,7 +50,8 @@ protected: vector started_now_; }; -Grob_pq_engraver::Grob_pq_engraver () +Grob_pq_engraver::Grob_pq_engraver (Context *c) + : Engraver (c) { } @@ -144,7 +145,7 @@ Grob_pq_engraver::start_translation_timestep () busy = scm_cdr (busy); } - if (start_busy != busy) + if (!scm_is_eq (start_busy, busy)) context ()->set_property ("busyGrobs", busy); }