]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bar-number-engraver.cc
* lily/system.cc (do_derived_mark): don't mark from object_alist_
[lilypond.git] / lily / bar-number-engraver.cc
index 9b8d0bdf86ae5071090912f941a304a10df1800f..9b3eedb1bf244da86737b4b1bc3e3f70b64bf60e 100644 (file)
@@ -11,6 +11,7 @@
 #include "side-position-interface.hh"
 #include "engraver.hh"
 #include "context.hh"
+#include "grob-array.hh"
 
 /*
   TODO: detect the top staff (stavesFound), and acknowledge staff-group
@@ -81,8 +82,8 @@ Bar_number_engraver::stop_translation_timestep ()
 {
   if (text_)
     {
-      text_->set_property ("side-support-elements", get_property ("stavesFound"));
-
+      text_->set_object ("side-support-elements",
+                        grob_list_to_grob_array (get_property ("stavesFound")));
       text_ = 0;
     }
 }