]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/metronome-engraver.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / metronome-engraver.cc
index f42c9f1870e71b9a15fb25aa2c033a6ce7c32a72..21eb711a24636c21f8c480c8238ead3397b5f8fa 100644 (file)
@@ -3,16 +3,17 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1998--2005 Jan Nieuwenhuizen <janneke@gnu.org>
+  (c) 1998--2006 Jan Nieuwenhuizen <janneke@gnu.org>
 */
 
 #include <cctype>
+using namespace std;
+
+#include "engraver.hh"
 
 #include "note-column.hh"
-#include "bar-line.hh"
-#include "time-signature.hh"
-#include "engraver-group-engraver.hh"
 #include "context.hh"
+#include "grob-array.hh"
 
 /**
    put stuff over or next to  bars.  Examples: bar numbers, marginal notes,
@@ -47,7 +48,8 @@ Metronome_mark_engraver::stop_translation_timestep ()
     {
       Grob *mc = unsmob_grob (get_property ("currentMusicalColumn"));
       text_->set_parent (mc, X_AXIS);
-      text_->set_object ("side-support-elements", get_property ("stavesFound"));
+      text_->set_object ("side-support-elements",
+                        grob_list_to_grob_array (get_property ("stavesFound")));
 
       text_ = 0;
     }