2009/12/15 Trevor Daniels <t.dani...@treda.co.uk>:

> but if I do this:
>
>  SCM duration_symbol;
>  Item *duration_grob;
>  ...
>  duration_grob = make_item ("TabDuration", events_[0]->self_scm ());
>  ...
>  duration_symbol = ly_string2scm ("A");
>  duration_grob->set_property ("text", duration_symbol);
>
> the program seg faults way down in the bowels.

I can't see anything wrong with this.

Are you sure duration_grob is being created before trying to call set_property?

Cheers,
Neil


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to