]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/translator-scheme.cc
offsets <-> scm conversion routines
[lilypond.git] / lily / translator-scheme.cc
index 4266e5cf8ef6dc9045fa63336ac558f6939f4f9f..d255386d73bba6dc19507f71ad56422065d453d4 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2002--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 2002--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "context-def.hh"
@@ -17,7 +17,7 @@ LY_DEFINE (ly_translator_name, "ly:translator-name",
 {
   Translator *tr = unsmob_translator (trans);
   SCM_ASSERT_TYPE (tr, trans, SCM_ARG1, __FUNCTION__, "Translator");
-  char const *nm = classname (tr);
+  char const *nm = tr->class_name ();
   return ly_symbol2scm (nm);
 }