summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-01 15:47:35 +0100
committerTom Hacohen <tom@stosb.com>2015-05-06 15:46:18 +0100
commit47b63d0a1bb1ccce7e7283f5513886a656ee4ed7 (patch)
tree4b136d0883536e9b1aabc73cf3251b60d0c2d6a7 /src
parentc3c12ab4adf489b26ff68cf2e2b83469855837a6 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/eo/eo_base.eo4
1 files changed, 0 insertions, 4 deletions
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. */
47 constructor { 47 constructor {
48 /*@ Call the object's constructor. 48 /*@ Call the object's constructor.
49Should not be used with #eo_do. Only use it with #eo_do_super. */ 49Should not be used with #eo_do. Only use it with #eo_do_super. */
50 legacy: null;
51 } 50 }
52 event_callback_forwarder_del { 51 event_callback_forwarder_del {
53 /*@ Remove an event callback forwarder for an event and an object. */ 52 /*@ 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. */
220 class.constructor; 219 class.constructor;
221 class.destructor; 220 class.destructor;
222 } 221 }
223 constructors {
224 .constructor;
225 }
226 events { 222 events {
227 callback,add; /*@ A callback was added. */ 223 callback,add; /*@ A callback was added. */
228 callback,del; /*@ A callback was deleted. */ 224 callback,del; /*@ A callback was deleted. */