ecore_timer: fix the default return value.
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 22 Apr 2015 09:01:14 +0000 (18:01 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Thu, 23 Apr 2015 09:34:54 +0000 (18:34 +0900)
When this function fails to get the interval value, it should return -1.0.
Currently, the value can be integer(-1.0 has an Error).
Maybe it should be fixed.

@fix

src/lib/ecore/ecore_timer.eo

index f1c0403..dac06f5 100644 (file)
@@ -19,7 +19,7 @@ class Ecore.Timer (Eo.Base)
             /*@ Get the interval the timer ticks on. */
          }
          values {
-            double in; /*@ The new interval in seconds */
+            double in(-1); /*@ The new interval in seconds */
          }
       }
       pending {