]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/translator.cc
T1265 - Remove deprecation warnings when running with Guile V2 Replace scm_str2symbol...
[lilypond.git] / lily / translator.cc
index 64cff836e6aa098813ec802b8523cd0e41ea2b9c..d7931788c6b2e789d72f58da3920eae3fbec75b9 100644 (file)
@@ -186,7 +186,7 @@ Translator::add_translator_listener (translator_listener_record **listener_list,
   name = replace_all (&name, '_', '-');
   name += "-event";
   
-  SCM class_sym = scm_str2symbol (name.c_str ());
+  SCM class_sym = scm_from_locale_symbol (name.c_str ());
   
   add_listened_event_class (class_sym);