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) {
^^
>
> public override int get_n_items() {
> return this.internal_menu.get_n_items();
> }
>
> Le mer. 29 juin 2016 à 08:44, Ondrej Tuma <konfere...@webjet.cz> a
> écrit :
>
> > Hi all,
> >
> > I try to create GLib.Menu subclass, but it fails. Here is co
Hi all,
I try to create GLib.Menu subclass, but it fails. Here is code:
public class MyMenu : Menu {
public MyMenu(){
append ("Item label", "app.my-action");
}
}
And here is error:
/home/mcbig/tmp-dev/vala/gmenu.vala.c:39:8: error: field ‘parent_instance’ has
incomplete type