You should probably init you private member variable like this:
public class test : Object {
// Set it here.
public some_class var = new some_class();
test()
{
}
}
Yu Feng wrote:
Dear developers,
I created an Widget and
Dear developers,
I created an Widget and overrode the constructor of the GObject
interface to initialize private members.
Then I listened to screen-changed signal of the widget. in the signal
handler a private member was accessed;
The private member was not properly initialized when the first