From 192ea2c9ad1d444d2f332d05b584a81c730f1514 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Tue, 27 Dec 2016 17:47:00 +0100 Subject: [PATCH] eio, edje: use new property impl syntax --- src/lib/edje/edje_edit.eo | 2 +- src/lib/edje/edje_object.eo | 18 ++++++++---------- src/lib/edje/efl_canvas_layout_internal_box.eo | 4 ++-- src/lib/edje/efl_canvas_layout_internal_swallow.eo | 5 ++--- src/lib/edje/efl_canvas_layout_internal_table.eo | 10 +++++----- src/lib/eio/eio_model.eo | 4 ++-- 6 files changed, 20 insertions(+), 23 deletions(-) diff --git a/src/lib/edje/edje_edit.eo b/src/lib/edje/edje_edit.eo index 32986fe..5dd8e83 100644 --- a/src/lib/edje/edje_edit.eo +++ b/src/lib/edje/edje_edit.eo @@ -11,6 +11,6 @@ class Edje.Edit (Edje.Object) Efl.Object.constructor; Efl.Object.destructor; Efl.Canvas.Group.group_del; - Efl.File.file.set; + Efl.File.file { set; } } } diff --git a/src/lib/edje/edje_object.eo b/src/lib/edje/edje_object.eo index 0505d46..0b367a7 100644 --- a/src/lib/edje/edje_object.eo +++ b/src/lib/edje/edje_object.eo @@ -2104,23 +2104,21 @@ class Edje.Object (Efl.Canvas.Group.Clipped, Efl.File, Efl.Container, Efl.Part, } } implements { - Efl.Gfx.visible.set; - Efl.Gfx.position.set; - Efl.Gfx.size.set; + Efl.Gfx.visible { set; } + Efl.Gfx.position { set; } + Efl.Gfx.size { set; } Efl.Object.constructor; Efl.Object.destructor; Efl.Object.dbg_info_get; - Efl.Canvas.Object.no_render.set; - Efl.Canvas.Object.paragraph_direction.set; + Efl.Canvas.Object.no_render { set; } + Efl.Canvas.Object.paragraph_direction { set; } Efl.Canvas.Group.group_add; Efl.Canvas.Group.group_del; Efl.Canvas.Group.group_calculate; - Efl.File.file.set; - Efl.File.file.get; - Efl.File.mmap.set; - Efl.File.mmap.get; + Efl.File.file { get; set; } + Efl.File.mmap { get; set; } Efl.Container.content_remove; - Efl.Container.content_part_name.get; + Efl.Container.content_part_name { get; } Efl.Part.part; Efl.Observer.update; } diff --git a/src/lib/edje/efl_canvas_layout_internal_box.eo b/src/lib/edje/efl_canvas_layout_internal_box.eo index 2dcb0f2..79526ec 100644 --- a/src/lib/edje/efl_canvas_layout_internal_box.eo +++ b/src/lib/edje/efl_canvas_layout_internal_box.eo @@ -9,7 +9,7 @@ class Efl.Canvas.Layout_Internal.Box (Efl.Object, Efl.Canvas.Layout_Internal, Ef data: Edje_Box_Data; implements { Efl.Object.finalize; - Efl.Canvas.Layout_Internal.real_part.set; + Efl.Canvas.Layout_Internal.real_part { set; } Efl.Container.content_iterate; Efl.Container.content_count; Efl.Container.content_remove; @@ -25,6 +25,6 @@ class Efl.Canvas.Layout_Internal.Box (Efl.Object, Efl.Canvas.Layout_Internal, Ef Efl.Pack.Linear.pack_content_get; Efl.Pack.Linear.pack_unpack_at; Efl.Pack.Linear.pack_index_get; - Efl.Orientation.orientation.get; + Efl.Orientation.orientation { get; } } } diff --git a/src/lib/edje/efl_canvas_layout_internal_swallow.eo b/src/lib/edje/efl_canvas_layout_internal_swallow.eo index 3cdcf5a..7695ead 100644 --- a/src/lib/edje/efl_canvas_layout_internal_swallow.eo +++ b/src/lib/edje/efl_canvas_layout_internal_swallow.eo @@ -8,9 +8,8 @@ class Efl.Canvas.Layout_Internal.Swallow (Efl.Object, Efl.Canvas.Layout_Internal data: Edje_Swallow_Data; implements { Efl.Object.finalize; - Efl.Canvas.Layout_Internal.real_part.set; - Efl.Container.content.get; - Efl.Container.content.set; + Efl.Canvas.Layout_Internal.real_part { set; } + Efl.Container.content { get; set; } Efl.Container.content_unset; } } diff --git a/src/lib/edje/efl_canvas_layout_internal_table.eo b/src/lib/edje/efl_canvas_layout_internal_table.eo index 7087967..fef2a25 100644 --- a/src/lib/edje/efl_canvas_layout_internal_table.eo +++ b/src/lib/edje/efl_canvas_layout_internal_table.eo @@ -8,7 +8,7 @@ class Efl.Canvas.Layout_Internal.Table (Efl.Object, Efl.Canvas.Layout_Internal, data: Edje_Table_Data; implements { Efl.Object.finalize; - Efl.Canvas.Layout_Internal.real_part.set; + Efl.Canvas.Layout_Internal.real_part { set; } Efl.Container.content_iterate; Efl.Container.content_count; Efl.Container.content_remove; @@ -18,9 +18,9 @@ class Efl.Canvas.Layout_Internal.Table (Efl.Object, Efl.Canvas.Layout_Internal, Efl.Pack.Grid.pack_grid; Efl.Pack.Grid.grid_content_get; Efl.Pack.Grid.grid_contents_get; - Efl.Pack.Grid.grid_position.get; - Efl.Pack.Grid.grid_size.get; - Efl.Pack.Grid.grid_columns.get; - Efl.Pack.Grid.grid_rows.get; + Efl.Pack.Grid.grid_position { get; } + Efl.Pack.Grid.grid_size { get; } + Efl.Pack.Grid.grid_columns { get; } + Efl.Pack.Grid.grid_rows { get; } } } diff --git a/src/lib/eio/eio_model.eo b/src/lib/eio/eio_model.eo index 48d1163..89ec40c 100644 --- a/src/lib/eio/eio_model.eo +++ b/src/lib/eio/eio_model.eo @@ -36,9 +36,9 @@ class Eio.Model (Efl.Object, Efl.Model) implements { Efl.Object.constructor; Efl.Object.destructor; - Efl.Object.parent.get; + Efl.Object.parent { get; } Efl.Object.provider_find; - Efl.Model.properties.get; + Efl.Model.properties { get; } Efl.Model.property_set; Efl.Model.property_get; Efl.Model.child_add; -- 2.7.4