summaryrefslogtreecommitdiff
path: root/lily/custos.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/custos.cc')
-rw-r--r--lily/custos.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/lily/custos.cc b/lily/custos.cc
index e718085906..ef3399d7ec 100644
--- a/lily/custos.cc
+++ b/lily/custos.cc
@@ -70,7 +70,8 @@
*
* (3) The thickness of the ledger line is fixed (limitation).
*/
-Molecule create_ledger_line (Interval x_extent, Grob *me)
+Molecule
+Custos::create_ledger_line (Interval x_extent, Grob *me)
{
Molecule line;
Molecule slice = Font_interface::get_default_font (me)->find_by_name ("noteheads-ledgerending");
@@ -105,7 +106,8 @@ Molecule create_ledger_line (Interval x_extent, Grob *me)
return line;
}
-void add_streepjes(Grob* me,
+void
+Custos::add_streepjes(Grob* me,
int pos,
int interspaces,
Molecule* custos_p_)
@@ -139,7 +141,7 @@ MAKE_SCHEME_CALLBACK(Custos,brew_molecule,1);
SCM
Custos::brew_molecule (SCM smob)
{
- Item *me = (Item *)unsmob_element (smob);
+ Item *me = (Item *)unsmob_grob (smob);
SCM scm_style = me->get_grob_property ("style");
if (gh_symbol_p (scm_style))