]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/text-interface.cc
unsmob_pitch -> Pitch::unsmob and related
[lilypond.git] / lily / text-interface.cc
index a1f8fa083a5102fe8a416e9bbb54aac5eec43706..0dc4f36360c5a83f1114c26e4a4b3cf6250372fa 100644 (file)
@@ -76,7 +76,7 @@ Text_interface::interpret_string (SCM layout_smob,
   LY_ASSERT_TYPE (scm_is_string, markup, 3);
 
   string str = ly_scm2string (markup);
-  Output_def *layout = unsmob_output_def (layout_smob);
+  Output_def *layout = Output_def::unsmob (layout_smob);
   Font_metric *fm = select_encoded_font (layout, props);
 
   replace_special_characters (str, props);
@@ -164,7 +164,7 @@ MAKE_SCHEME_CALLBACK (Text_interface, print, 1);
 SCM
 Text_interface::print (SCM grob)
 {
-  Grob *me = unsmob_grob (grob);
+  Grob *me = Grob::unsmob (grob);
 
   SCM t = me->get_property ("text");
   SCM chain = Font_interface::text_font_alist_chain (me);