Index: lily/span-bar-engraver.cc |
diff --git a/lily/span-bar-engraver.cc b/lily/span-bar-engraver.cc |
index 5e93de630a41e8fd78200902af3e49c9243f9d88..a1420d532bdc00d963b54087b8e8444d07758d3b 100644 |
--- a/lily/span-bar-engraver.cc |
+++ b/lily/span-bar-engraver.cc |
@@ -75,24 +75,23 @@ Span_bar_engraver::process_acknowledged () |
Pointer_group_interface::add_grob (spanbar_, ly_symbol2scm ("elements"), bars_[i]); |
make_spanbar_ = false; |
} |
} |
void |
Span_bar_engraver::stop_translation_timestep () |
{ |
if (spanbar_) |
{ |
- SCM vissym = ly_symbol2scm ("break-visibility"); |
- SCM vis = bars_[0]->internal_get_property (vissym); |
- if (ly_is_equal (spanbar_->internal_get_property (vissym), vis)) |
- spanbar_->set_property (vissym, vis); |
+ SCM vis = bars_[0]->get_property ("break-visibility"); |
+ if (ly_is_equal (spanbar_->get_property ("break-visibility"), vis)) |
+ spanbar_->set_property ("break-visibility", vis); |
scm_call_1 (ly_lily_module_constant ("span-bar::notify-grobs-of-my-existence"), spanbar_->self_scm ()); |
spanbar_ = 0; |
} |
bars_.resize (0); |
} |
#include "translator.icc" |
ADD_ACKNOWLEDGER (Span_bar_engraver, bar_line); |
ADD_TRANSLATOR (Span_bar_engraver, |