]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/performer-group.cc
* The grand 2005-2006 replace.
[lilypond.git] / lily / performer-group.cc
index ef4a9d87991c0a2c2057229fb8a2438528f8fee3..0e1949657f8ea443f98f1fc088c8ec9d6f0a2c7f 100644 (file)
@@ -3,11 +3,11 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1996--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
   Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
-#include "performer-group-performer.hh"
+#include "performer-group.hh"
 
 #include "context.hh"
 #include "audio-element.hh"
@@ -62,6 +62,16 @@ performer_each (SCM list, Performer_method method)
 void
 Performer_group::do_announces ()
 {
+  for (SCM s = context ()->children_contexts ();
+       scm_is_pair (s); s = scm_cdr (s))
+    {
+      Context *c = unsmob_context (scm_car (s));
+      Performer_group *group
+       = dynamic_cast<Performer_group *> (c->implementation ());
+      if (group)
+       group->do_announces ();
+    }
+
   while (1)
     {
       performer_each (get_simple_trans_list (),