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

Unified Diff: lily/sustain-pedal.cc

Issue 573670043: Refactor get/set_property to take the item as first argument
Patch Set: Manual completion of patch set Created 4 years, 11 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/stream-event.cc ('k') | lily/system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lily/sustain-pedal.cc
diff --git a/lily/sustain-pedal.cc b/lily/sustain-pedal.cc
index 5a07641e5f39dadcede9eb77059968575fd7d43f..3709ddbe0ff4bd4594cd8007f2c9184390a405c9 100644
--- a/lily/sustain-pedal.cc
+++ b/lily/sustain-pedal.cc
@@ -53,7 +53,7 @@ Sustain_pedal::print (SCM smob)
Grob *e = unsmob<Grob> (smob);
Stencil mol;
- SCM glyph = e->get_property ("text");
+ SCM glyph = get_property (e, "text");
if (!scm_is_string (glyph))
return mol.smobbed_copy ();
« no previous file with comments | « lily/stream-event.cc ('k') | lily/system.cc » ('j') | no next file with comments »

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