Bindings for GLib.Action include both properties and accessor methods
Submitted by Edward Hennessy
Link to original bug (#725363)
Description
The bindings for GLib.Action include properties and accessor methods for the same properties. Implementing both properties and accessor methods in derived classes results in compile errors.
Deriving a class from Glib.Action and implementing all abstract methods results in compile errors like the following:
CloseProjectAction.c:146:17: error: redefinition of ‘close_project_action_real_get_enabled’ static gboolean close_project_action_real_get_enabled (GAction* base) { ^ CloseProjectAction.c:71:17: note: previous definition of ‘close_project_action_real_get_enabled’ was here static gboolean close_project_action_real_get_enabled (GAction* base) { ^
...and two similar errors for each property.
Bug was encountered on Ubuntu 13.10 using vala 0.20.1 The accessor methods are present in latest source control gio-2.0.vapi.
Version: 0.20.x