-/*
- lines may only be broken if there is a barline in all staffs
-*/
-void
-Bar_engraver::stop_translation_timestep ()
-{
- if (!bar_p_)
- {
- Score_engraver * e = 0;
- Translator * t = daddy_grav_l ();
- for (; !e && t; t = t->daddy_trans_l_)
- {
- e = dynamic_cast<Score_engraver*> (t);
- }
-
- if (!e)
- programming_error ("No score engraver!");
- else
- e->forbid_breaks (); // guh. Use properties!
- }
- else
- typeset_bar ();
+ if (to_boolean (g->get_property ("to-barline")))
+ spanners_.push_back (dynamic_cast<Spanner*> (g));