]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/rhythmic-head.cc
Run `make grand-replace'.
[lilypond.git] / lily / rhythmic-head.cc
index 7c177452cf290383e9ee96f6086d596e785ce119..1ea09cce717e1c93f7e379947bf2b2917719e7a0 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 1997--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "rhythmic-head.hh"
 Item *
 Rhythmic_head::get_dots (Grob *me)
 {
-  SCM s = me->get_property ("dot");
+  SCM s = me->get_object ("dot");
   return unsmob_item (s);
 }
 
 Item *
 Rhythmic_head::get_stem (Grob *me)
 {
-  SCM s = me->get_property ("stem");
+  SCM s = me->get_object ("stem");
   return unsmob_item (s);
 }
 
@@ -38,7 +38,7 @@ Rhythmic_head::dot_count (Grob *me)
 void
 Rhythmic_head::set_dots (Grob *me, Item *dot)
 {
-  me->set_property ("dot", dot->self_scm ());
+  me->set_object ("dot", dot->self_scm ());
 }
 
 int
@@ -48,7 +48,11 @@ Rhythmic_head::duration_log (Grob *me)
   return scm_is_number (s) ? scm_to_int (s) : 0;
 }
 
-ADD_INTERFACE (Rhythmic_head, "rhythmic-head-interface",
-              "Note head or rest",
-              "dot stem duration-log");
-
+ADD_INTERFACE (Rhythmic_head,
+              "Note head or rest.",
+              
+              /* properties */
+              "dot "
+              "duration-log "
+              "stem "
+              );