start_type = "crescendo";
SCM s = get_property ((start_type + "Spanner").to_str0 ());
- if (!ly_symbol_p (s) || s == ly_symbol2scm ("hairpin"))
+ if (!ly_c_symbol_p (s) || s == ly_symbol2scm ("hairpin"))
{
cresc_ = make_spanner ("Hairpin");
cresc_->set_property ("grow-direction",
{
cresc_ = make_spanner ("TextSpanner");
cresc_->set_property ("style", s);
- daddy_context_->set_property ((start_type
+ context ()->set_property ((start_type
+ "Spanner").to_str0 (), SCM_EOL);
s = get_property ((start_type + "Text").to_str0 ());
/*
FIXME: use get_markup () to check type.
*/
- if (ly_string_p (s) || ly_pair_p (s))
+ if (ly_c_string_p (s) || ly_c_pair_p (s))
{
cresc_->set_property ("edge-text",
scm_cons (s, scm_makfrom0str ("")));
- daddy_context_->set_property ((start_type + "Text").to_str0 (),
+ context ()->set_property ((start_type + "Text").to_str0 (),
SCM_EOL);
}
}
if (script_ && !script_->get_parent (X_AXIS))
{
SCM head = scm_last_pair (i.grob_->get_property ("note-heads"));
- if (ly_pair_p (head))
+ if (ly_c_pair_p (head))
script_->set_parent (unsmob_grob (ly_car (head)), X_AXIS);
}
DynamicText doesn't really have a script-priority field.
*/
- if (ly_number_p (p)
+ if (ly_c_number_p (p)
&& ly_scm2int (p) < ly_scm2int (script_->get_property ("script-priority")))
{
Side_position_interface::add_support (line_spanner_, i.grob_);