From: Tom Hacohen Date: Fri, 1 May 2015 14:47:35 +0000 (+0100) Subject: Eo base: Fix eo_constructor's declaration. X-Git-Tag: v1.15.0-alpha1~748 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47b63d0a1bb1ccce7e7283f5513886a656ee4ed7;p=platform%2Fupstream%2Fefl.git Eo base: Fix eo_constructor's declaration. 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. --- diff --git a/src/lib/eo/eo_base.eo b/src/lib/eo/eo_base.eo index 2098c4a1fa..88b917aa9d 100644 --- a/src/lib/eo/eo_base.eo +++ b/src/lib/eo/eo_base.eo @@ -47,7 +47,6 @@ Return event freeze count. */ 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. */ @@ -220,9 +219,6 @@ callbacks of the same priority are called in reverse order of creation. */ class.constructor; class.destructor; } - constructors { - .constructor; - } events { callback,add; /*@ A callback was added. */ callback,del; /*@ A callback was deleted. */