Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1563)

Unified Diff: lily/engraver-group.cc

Issue 137760043: Replace internal_get_property with get_property where possible (Closed)
Patch Set: fix memoization Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lily/context-scheme.cc ('k') | lily/grob.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/engraver-group.cc
diff --git a/lily/engraver-group.cc b/lily/engraver-group.cc
index a9048ccb9c60037a811a731114d8ca558ab9f8d1..97e9277fcccdc96e033d192860d3961b34514a96 100644
--- a/lily/engraver-group.cc
+++ b/lily/engraver-group.cc
@@ -84,27 +84,26 @@ Engraver_group::announce_grob (Grob_info info)
dad_eng->announce_grob (info);
}
void
Engraver_group::acknowledge_grobs ()
{
if (!announce_infos_.size ())
return;
SCM name_sym = ly_symbol2scm ("name");
- SCM meta_sym = ly_symbol2scm ("meta");
for (vsize j = 0; j < announce_infos_.size (); j++)
{
Grob_info info = announce_infos_[j];
- SCM meta = info.grob ()->internal_get_property (meta_sym);
+ SCM meta = info.grob ()->get_property ("meta");
SCM nm = scm_assoc (name_sym, meta);
if (scm_is_pair (nm))
nm = scm_cdr (nm);
else
continue;
SCM acklist = scm_hashq_ref (acknowledge_hash_table_drul_[info.start_end ()],
nm, SCM_BOOL_F);
Engraver_dispatch_list *dispatch
« no previous file with comments | « lily/context-scheme.cc ('k') | lily/grob.cc » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b