evas: Rename calculate property to calculating
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 2 Aug 2017 10:04:06 +0000 (19:04 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 2 Aug 2017 10:12:13 +0000 (19:12 +0900)
Recently introduced by @cedric
I think the name is not very clear, and is clashing with the
actual method of the same name.

src/lib/evas/canvas/evas_canvas.eo
src/lib/evas/canvas/evas_object_smart.c

index 94dee0f..1f83790 100644 (file)
@@ -757,13 +757,13 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, Efl.Animator, Efl.Input.Interface,
            all smart objects in the canvas.
          ]]
       }
-      @property smart_objects_calculate {
+      @property smart_objects_calculating {
          get {
-           [[Get if the canvas is currently calculating smart objects.]]
-        }
-        values {
-           calculating: bool; [[The state of computation of smart objects.]]
-        }
+            [[Get if the canvas is currently calculating smart objects.]]
+         }
+         values {
+            calculating: bool; [[$true if currently calculating smart objects.]]
+         }
       }
       /* FIXME: The below function is only for efl.ui.win */
       touch_point_list_nth_xy_get {
index b754320..6dfbf35 100644 (file)
@@ -987,8 +987,8 @@ _evas_canvas_smart_objects_calculate(Eo *eo_e, Evas_Public_Data *o EINA_UNUSED)
    evas_call_smarts_calculate(eo_e);
 }
 
-Eina_Bool
-_evas_canvas_smart_objects_calculate_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e)
+EOLIAN Eina_Bool
+_evas_canvas_smart_objects_calculating_get(Eo *eo_e EINA_UNUSED, Evas_Public_Data *e)
 {
    return !!e->in_smart_calc;
 }