[Vala] notify for synthetic properties?

2017-10-10 Thread Michael Gratton
Hey people, Say you have a GObject with a synthetic property, the value of which depends on some other value, e.g.: public string value { get { return entry.get_text(); } set { entry.set_text(value); } } private Gtk.Entry entry; You want to want to get notifies when the synthetic

[Vala] default value is less accessible than method

2017-10-10 Thread Ondrej Tuma
Hi there, I have simple code (in attachment), when I try to compile, i got error: GLib.Object.vala:15.39-15.52: error: default value is less accessible than method `Node.add' public Node add (uint direction = Direction.AUTO) { ^^

Re: [Vala] default value is less accessible than method

2017-10-10 Thread Al Thomas via vala-list
> On Tuesday, 10 October 2017, 20:11:15 BST, Ondrej Tuma > wrote: > I have simple code (in attachment), when I try to compile, i got error: > GLib.Object.vala:15.39-15.52: > error: default value is less accessible than method `Node.add' >     public Node add (uint