xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=87e6e4e60ad51833a4f2e452fcede4ef4b0838d1

commit 87e6e4e60ad51833a4f2e452fcede4ef4b0838d1
Author: Xavi Artigas <[email protected]>
Date:   Fri Jan 18 17:05:05 2019 +0100

    Efl.Loop.Timer.interval is a constructor property
    
    Summary:
    If you don't set the interval during construction, construction fails
    so there's no chance to set it later.
    We either change that behavior (is it really needed? can't we just set some
    default during construction and override it later?) or properly mark this
    property as a construction-time property with this patch.
    
    Test Plan: Nothing changes, this will only have effect once bindings start 
using it.
    
    Reviewers: cedric, zmike, bu5hm4n, q66
    
    Reviewed By: cedric
    
    Subscribers: #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D7691
---
 src/lib/ecore/efl_loop_timer.eo | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/ecore/efl_loop_timer.eo b/src/lib/ecore/efl_loop_timer.eo
index 44841d8068..b5b025e7ec 100644
--- a/src/lib/ecore/efl_loop_timer.eo
+++ b/src/lib/ecore/efl_loop_timer.eo
@@ -56,6 +56,9 @@ class Efl.Loop_Timer extends Efl.Loop_Consumer
    events {
       tick: void; [[Event triggered when the specified time as passed.]]
    }
+   constructors {
+      .interval;
+   }
    implements {
       Efl.Object.constructor;
       Efl.Object.destructor;

-- 


Reply via email to