]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-item.cc
Fix docstring of property when
[lilypond.git] / lily / percent-repeat-item.cc
index c4b9a70d361ae330a14807f29ad90c075b8c7653..0b88a8cb45832c6b44619e13425f6ae130d3bf04 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2001--2014  Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2001--2015  Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -80,7 +80,7 @@ SCM
 Percent_repeat_item_interface::beat_slash (SCM grob)
 {
   Grob *me = Grob::unsmob (grob);
-  Stream_event *cause = unsmob_stream_event (me->get_property ("cause"));
+  Stream_event *cause = Stream_event::unsmob (me->get_property ("cause"));
   int count = robust_scm2int (cause->get_property ("slash-count"), 1);
 
   Stencil m;