Re: [Vala] Builder member variable of a class problem



John - wrote:
I get : 
"The application was terminated by a signal: SIGSEGV" when program enters into activate signal.

I try to do :
stdout.printf(this.builder.ref_count.to_string());

But also I get the same error, I think Builder object is null ...

You should be able to track down the error with a non-empty 'catch' block and an assertion.

...
catch (Error exc)
{
    stderr.printf ("%s\n", exc.message);
}
...

assert (this.builder != null);
Window window = (Window) this.builder.get_object("main");


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]