Re: [Vala] Builder member variable of a class problem
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Builder member variable of a class problem
- Date: Wed, 30 Sep 2009 12:23:13 +0200
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]