Remove it from the constructors section.
This was wrong. This place is for functions that are allowed to be
passed to eo_add() and should be used by bindings to create
constructors.
This is wrong for both cases, as this should always be called, not
optional.
Also remove the redundant legacy: null.
constructor {
/*@ Call the object's constructor.
Should not be used with #eo_do. Only use it with #eo_do_super. */
- legacy: null;
}
event_callback_forwarder_del {
/*@ Remove an event callback forwarder for an event and an object. */
class.constructor;
class.destructor;
}
- constructors {
- .constructor;
- }
events {
callback,add; /*@ A callback was added. */
callback,del; /*@ A callback was deleted. */