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 14:34:17 +0200
John - wrote:
Now I get this error :
ERROR:test.vala:27:test_window_on_testButton_activate: assertion failed: (self->priv->builder != NULL)
Aborted (core dumped)
I guess your instance of 'TestWindow' (Vala: 'this' / C: 'self') is already freed.
Try to assign it to a variable that does not get out of scope.
Instead of
new TestWindow ();
do:
test_window = new TestWindow ();
Best regards,
Frederik
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]