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
This commit is contained in:
Xavi Artigas 2019-01-18 17:05:05 +01:00
parent a9d9ccefe4
commit 87e6e4e60a
1 changed files with 3 additions and 0 deletions

View File

@ -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;