]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/audio-element-info.cc
*** empty log message ***
[lilypond.git] / lily / audio-element-info.cc
index 76ec0f603014625a91de49ef0e887265587f4185..55bd91e29ebb09f2df0b99bf72c5428846a5c8d3 100644 (file)
@@ -29,12 +29,12 @@ Audio_element_info::Audio_element_info ()
 Link_array<Context>
 Audio_element_info::origin_contexts (Translator* end) const
 {
-  Context * t = origin_trans_->get_parent_context ();
+  Context * t = origin_trans_->context ();
   Link_array<Context> r;
   do {
     r.push (t);
     t = t->get_parent_context ();
-  } while (t && t != end->get_parent_context ());
+  } while (t && t != end->context ());
   
   return r;
 }