]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/staff-collecting-engraver.cc
* Documentation/topdocs/NEWS.tely (Top): Mention markup text feature.
[lilypond.git] / lily / staff-collecting-engraver.cc
index 42a9fec8843fa1259dee3a37c4c80ca031ba07af..c6e134ffcb506e412390822afcecc45be6e32500 100644 (file)
@@ -3,15 +3,15 @@ staff-collecting-engraver.cc --  implement Staff_collecting_engraver
 
 source file of the GNU LilyPond music typesetter
 
-(c) 2001--2004  Han-Wen Nienhuys <hanwen@cs.uu.nl>
+(c) 2001--2005  Han-Wen Nienhuys <hanwen@cs.uu.nl>
 
  */
+
 #include "staff-symbol.hh"
 #include "engraver.hh"
 #include "grob.hh"
 #include "context.hh"
 
-
 class Staff_collecting_engraver : public Engraver
 {
 public:
@@ -32,12 +32,12 @@ Staff_collecting_engraver::acknowledge_grob (Grob_info gi)
       SCM staffs = get_property ("stavesFound");
       staffs = scm_cons (gi.grob_->self_scm (), staffs);
 
-      get_parent_context ()->set_property ("stavesFound", staffs);
+      context ()->set_property ("stavesFound", staffs);
     }
 }
 
 
-ENTER_DESCRIPTION (Staff_collecting_engraver,
+ADD_TRANSLATOR (Staff_collecting_engraver,
 /* descr */       "Maintain the stavesFound variable",
 
 /* creats*/       "",