]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/event-chord-iterator.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / event-chord-iterator.cc
index 4cda2d62bc210ef323fb626b7801777d30d7a983..55d43302c556a32afbfe8f38bb76dc22a016fc28 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1997--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1997--2014 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -49,11 +49,11 @@ Event_chord_iterator::process (Moment m)
           Music *mus = unsmob_music (scm_car (s));
           report_event (mus);
         }
-      for (SCM s = get_music ()->get_property ("events");
+      for (SCM s = get_music ()->get_property ("articulations");
            scm_is_pair (s); s = scm_cdr (s))
         {
-          Stream_event *ev = unsmob_stream_event (scm_car (s));
-          get_outlet ()->event_source ()->broadcast (ev);
+          Music *mus = unsmob_music (scm_car (s));
+          report_event (mus);
         }
     }
   Simple_music_iterator::process (m);