summaryrefslogtreecommitdiff
path: root/lily/percent-repeat-item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lily/percent-repeat-item.cc')
-rw-r--r--lily/percent-repeat-item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lily/percent-repeat-item.cc b/lily/percent-repeat-item.cc
index faf14c40f3..c4b9a70d36 100644
--- a/lily/percent-repeat-item.cc
+++ b/lily/percent-repeat-item.cc
@@ -69,7 +69,7 @@ MAKE_SCHEME_CALLBACK (Percent_repeat_item_interface, double_percent, 1);
SCM
Percent_repeat_item_interface::double_percent (SCM grob)
{
- Grob *me = unsmob_grob (grob);
+ Grob *me = Grob::unsmob (grob);
Stencil m = x_percent (me, 2);
m.translate_axis (-m.extent (X_AXIS).center (), X_AXIS);
return m.smobbed_copy ();
@@ -79,7 +79,7 @@ MAKE_SCHEME_CALLBACK (Percent_repeat_item_interface, beat_slash, 1);
SCM
Percent_repeat_item_interface::beat_slash (SCM grob)
{
- Grob *me = unsmob_grob (grob);
+ Grob *me = Grob::unsmob (grob);
Stream_event *cause = unsmob_stream_event (me->get_property ("cause"));
int count = robust_scm2int (cause->get_property ("slash-count"), 1);