]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-collecting-engraver.cc
* lily/include/translator.icc: new file.
[lilypond.git] / lily / staff-collecting-engraver.cc
index 095bfe11156a1b6e4be7242dce44416193ee4747..5784dd79c7c3fbcc59e479a9b2b6a7679dff6922 100644 (file)
@@ -25,15 +25,17 @@ Staff_collecting_engraver::Staff_collecting_engraver ()
 void
 Staff_collecting_engraver::acknowledge_grob (Grob_info gi)
 {
-  if (Staff_symbol::has_interface (gi.grob_))
+  if (Staff_symbol::has_interface (gi.grob ()))
     {
       SCM staffs = get_property ("stavesFound");
-      staffs = scm_cons (gi.grob_->self_scm (), staffs);
+      staffs = scm_cons (gi.grob ()->self_scm (), staffs);
 
       context ()->set_property ("stavesFound", staffs);
     }
 }
 
+#include "translator.icc"
+
 ADD_TRANSLATOR (Staff_collecting_engraver,
                /* descr */ "Maintain the stavesFound variable",