On 27/02/2014 17:09, Edward Hennessy wrote:
Hello,I'm trying to create custom actions by inheriting from GLib.Action, however, the following code: public class CloseProjectAction : Object, Action { public bool enabled { get { return true; } } public bool get_enabled() { return true; } /* more method implementations... */ }
You should define only the property, not the get_enabled() method. If get_enabled() is part of the bindings, that has to be removed from the interface as it's a bindings bug.
_______________________________________________ vala-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/vala-list
