[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help please!
From: |
Neil Puttock |
Subject: |
Re: Help please! |
Date: |
Tue, 15 Dec 2009 23:28:42 +0000 |
2009/12/15 Trevor Daniels <address@hidden>:
> 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
- Help please!, Trevor Daniels, 2009/12/15
- Re: Help please!,
Neil Puttock <=