- if (text_
- && safe_is_member (grob_name_scm (g),
- text_->get_property ("non-break-align-symbols")))
- text_->set_parent (g, X_AXIS);
+ if (text_)
+ for (SCM s = text_->get_property ("non-break-align-symbols");
+ scm_is_pair (s);
+ s = scm_cdr (s))
+ if (g->internal_has_interface (scm_car (s)))
+ text_->set_parent (g, X_AXIS);