bdilly pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=17af933ae750a3090fba94b804e114001a4181a2

commit 17af933ae750a3090fba94b804e114001a4181a2
Author: Guilherme Iscaro <[email protected]>
Date:   Wed Nov 9 11:24:07 2016 -0200

    Evas: Change evas_canvas_default_device_get() to property.
    
    Reviewers: barbieri, jpeg, bdilly
    
    Reviewed By: bdilly
    
    Subscribers: cedric, jpeg
    
    Differential Revision: https://phab.enlightenment.org/D4387
---
 src/lib/evas/canvas/evas_canvas.eo | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/lib/evas/canvas/evas_canvas.eo 
b/src/lib/evas/canvas/evas_canvas.eo
index 6888257..16e9b29 100644
--- a/src/lib/evas/canvas/evas_canvas.eo
+++ b/src/lib/evas/canvas/evas_canvas.eo
@@ -1135,15 +1135,18 @@ class Evas.Canvas (Efl.Object, Efl.Canvas, 
Efl.Animator, Efl.Input.Interface)
            re-compute of that data etc.
          ]]
       }
-      default_device_get {
+      @property default_device {
          [[Return the default device of a given type.
            \@note Currently Evas only creates a seat, mouse and keyboard.
            @since 1.19
          ]]
-         params {
-            @in type: Efl.Input.Device.Class; [[The class of the default 
device to fetch.]]
+         get {}
+         keys {
+            type: Efl.Input.Device.Class; [[The class of the default device to 
fetch.]]
+         }
+         values {
+            seat: Efl.Input.Device; [[The default device or $null on error.]]
          }
-         return: Efl.Input.Device; [[The default device or $null on error.]]
       }
       coord_world_y_to_screen @const {
          [[Convert/scale a canvas coordinate into output screen

-- 


Reply via email to