]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/grob-interface.cc
Run `make grand-replace'.
[lilypond.git] / lily / grob-interface.cc
index afae13dbecaa922aba2f9c338c5e50f00a1fff9a..1e968ff421daa2082b4cb0ad181cd85fef9f411d 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2002--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2002--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "grob-interface.hh"
@@ -11,7 +11,6 @@
 #include "grob.hh"
 #include "international.hh"
 #include "protected-scm.hh"
-#include "std-string.hh"
 #include "string-convert.hh"
 #include "warn.hh"
 #include "misc.hh"
@@ -27,10 +26,10 @@ SCM add_interface (char const *cxx_name,
     lispy_name += suffix;
 
   SCM s = ly_symbol2scm (lispy_name.c_str ());
-  SCM d = scm_makfrom0str (descr);
+  SCM d = scm_from_locale_string (descr);
   SCM l = parse_symbol_list (vars);
 
-  ly_add_interface (s, d, l);
+  internal_add_interface (s, d, l);
 
   return s;
 }