rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=245c636aec6bc83ea0d88e3eb1e1cb2aff0dd0fd

commit 245c636aec6bc83ea0d88e3eb1e1cb2aff0dd0fd
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue May 12 13:24:00 2015 +0300

    ewe: update .eo and .c files due to new EOLIAN syntax
---
 src/lib/ewe_combobox.c   |  5 +--
 src/lib/ewe_combobox.eo  | 38 ++++++++++-----------
 src/lib/ewe_entry.c      |  5 +--
 src/lib/ewe_entry.eo     | 34 +++++++++----------
 src/lib/ewe_ruler.c      |  5 +--
 src/lib/ewe_ruler.eo     | 88 +++++++++++++++++++++++-------------------------
 src/lib/ewe_statusbar.c  |  5 +--
 src/lib/ewe_statusbar.eo | 44 ++++++++++++------------
 src/lib/ewe_tabs.c       |  7 ++--
 src/lib/ewe_tabs.eo      | 70 +++++++++++++++++++-------------------
 src/lib/ewe_win.eo       |  2 +-
 11 files changed, 149 insertions(+), 154 deletions(-)

diff --git a/src/lib/ewe_combobox.c b/src/lib/ewe_combobox.c
index 915c554..9bea18e 100644
--- a/src/lib/ewe_combobox.c
+++ b/src/lib/ewe_combobox.c
@@ -501,14 +501,15 @@ _ewe_combobox_evas_object_smart_resize(Eo                 
     *obj,
 
 /* -----------------------------EO operations-------------------------------- 
*/
 
-static void
+EOLIAN static Eo*
 _ewe_combobox_eo_base_constructor(Eo *obj, Ewe_Combobox_Smart_Data *sd)
 {
+   obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
    sd->obj = obj;
-   eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),
          evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
+   return obj;
 }
 
 EOLIAN static void
diff --git a/src/lib/ewe_combobox.eo b/src/lib/ewe_combobox.eo
index 422b604..6c0514f 100644
--- a/src/lib/ewe_combobox.eo
+++ b/src/lib/ewe_combobox.eo
@@ -1,9 +1,9 @@
-class Ewe_Combobox (Elm_Widget)
+class Ewe_Combobox (Elm.Widget)
 {
    eo_prefix: ewe_obj_combobox;
    data: Ewe_Combobox_Smart_Data;
-   properties {
-      items_list {
+   methods {
+      @property items_list {
          get {
          /*@
           Get internal items list.
@@ -13,11 +13,9 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          }
          values {
-            const(Eina_List)* items;
+            items: const(Eina_List)*;
          }
       }
-   }
-   methods {
       item_add {
          /*@
           Add an item as last.
@@ -27,7 +25,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Ewe_Combobox_Item *;
          params {
-            @in Eina_Stringshare *title; /*@New items title*/
+            @in title: Eina_Stringshare*; /*@New items title*/
          }
       }
       item_del {
@@ -39,7 +37,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Ewe_Combobox_Item *item; /*@The combobox item*/
+            @in item: Ewe_Combobox_Item*; /*@The combobox item*/
          }
       }
       items_list_free {
@@ -51,7 +49,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Eina_Bool empty; /*@clear main part*/
+            @in empty: Eina_Bool; /*@clear main part*/
          }
       }
       item_title_set {
@@ -63,8 +61,8 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in int index; /*@Combobox item index*/
-            @in Eina_Stringshare *title; /*@New items title*/
+            @in index: int; /*@Combobox item index*/
+            @in title: Eina_Stringshare*; /*@New items title*/
          }
       }
       item_title_get {
@@ -76,7 +74,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Stringshare *;
          params {
-            @in const(int) index; /*@Combobox item index*/
+            @in index: const(int); /*@Combobox item index*/
          }
       }
       select_item_set {
@@ -88,7 +86,7 @@ class Ewe_Combobox (Elm_Widget)
          @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in const(int) index; /*@New selected item index*/
+            @in index: const(int); /*@New selected item index*/
          }
       }
       select_item_get {
@@ -118,7 +116,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Eina_Stringshare *title; /*@New items title*/
+            @in title: Eina_Stringshare*; /*@New items title*/
          }
       }
       item_style_set {
@@ -130,8 +128,8 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Ewe_Combobox_Item *item; /*@The combobox item*/
-            @in Eina_Stringshare *style; /*@New items style*/
+            @in item: Ewe_Combobox_Item*; /*@The combobox item*/
+            @in style: Eina_Stringshare*; /*@New items style*/
          }
       }
       style_set {
@@ -143,7 +141,7 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Eina_Stringshare *style; /*@New combobox style*/
+            @in style: Eina_Stringshare*; /*@New combobox style*/
          }
       }
       content_set {
@@ -155,8 +153,8 @@ class Ewe_Combobox (Elm_Widget)
           @ingroup combobox*/
          return: Eina_Bool;
          params {
-            @in Eina_Stringshare *part; /*@Part name*/
-            @in Evas_Object *content; /*@A swallowed content*/
+            @in part: Eina_Stringshare*; /*@Part name*/
+            @in content: Evas_Object*; /*@A swallowed content*/
          }
       }
    }
@@ -170,7 +168,7 @@ class Ewe_Combobox (Elm_Widget)
       Evas.Object_Smart.move;
       Evas.Object_Smart.show;
       Evas.Object_Smart.hide;
-      Elm_Widget.disable;
+      Elm.Widget.disable;
    }
    events {
    }
diff --git a/src/lib/ewe_entry.c b/src/lib/ewe_entry.c
index ec1c5e1..dc143d9 100644
--- a/src/lib/ewe_entry.c
+++ b/src/lib/ewe_entry.c
@@ -95,12 +95,12 @@ _ewe_entry_class_constructor(Eo_Class *klass)
    evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
 }
 
-EOLIAN static void
+EOLIAN static Eo*
 _ewe_entry_eo_base_constructor(Eo *obj, Ewe_Entry_Data *_pd)
 {
+   obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
    EWE_ENTRY_PARENT_DATA_GET(obj, parent_sd);
 
-   eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY));
 
    _pd->emit_regex_signals  = EINA_FALSE;
@@ -115,6 +115,7 @@ _ewe_entry_eo_base_constructor(Eo *obj, Ewe_Entry_Data *_pd)
    evas_object_smart_callback_add(obj, "rejected", _on_rejected, obj);
    edje_object_signal_callback_add(parent_sd->entry_edje,
       "entry,changed", "elm.text", _entry_changed_signal_cb, obj);
+   return obj;
 }
 
 EOLIAN static void
diff --git a/src/lib/ewe_entry.eo b/src/lib/ewe_entry.eo
index 2d62ff7..7d46f93 100644
--- a/src/lib/ewe_entry.eo
+++ b/src/lib/ewe_entry.eo
@@ -1,9 +1,9 @@
-class Ewe_Entry (Elm_Entry)
+class Ewe_Entry (Elm.Entry)
 {
    eo_prefix: ewe_obj_entry;
    data: Ewe_Entry_Data;
-   properties {
-      regex_glow {
+   methods {
+      @property regex_glow {
          get {
             /*@
              Returns boolean to check if redex error-signals emition is on/off
@@ -13,10 +13,10 @@ class Ewe_Entry (Elm_Entry)
              @ingroup Entry */
          }
          values {
-            Eina_Bool glow;
+            glow: bool;
          }
       }
-      regex_autocheck {
+      @property regex_autocheck {
          get {
             /*@
              Returns boolean to check if redex autocheck is on/off
@@ -26,10 +26,10 @@ class Ewe_Entry (Elm_Entry)
              @ingroup Entry */
          }
          values {
-            Eina_Bool autocheck;
+            autocheck: bool;
          }
       }
-      regex_error {
+      @property regex_error {
          get {
             /*@
              Returns last regex error
@@ -38,10 +38,10 @@ class Ewe_Entry (Elm_Entry)
              @ingroup Entry */
          }
          values {
-            int error;
+            error: int;
          }
       }
-      regex_error_text {
+      @property regex_error_text {
          get {
             /*@
              Returns last regex error text
@@ -50,11 +50,9 @@ class Ewe_Entry (Elm_Entry)
              @ingroup Entry */
          }
          values {
-            const(char) *error;
+            error: const(char)*;
          }
       }
-   }
-   methods {
       regex_set {
          /*@
           Set regular expresion to be compiled and used.
@@ -64,8 +62,8 @@ class Ewe_Entry (Elm_Entry)
           @ingroup Entry*/
          return: Eina_Bool;
          params {
-            @in const(char) *regex_str; /*@The text of regular expresion*/
-            @in int flags; /*@Compile flags for regex*/
+            @in regex_str: const(char)*; /*@The text of regular expresion*/
+            @in flags: int; /*@Compile flags for regex*/
          }
       }
       regex_unset {
@@ -95,7 +93,7 @@ class Ewe_Entry (Elm_Entry)
           @ingroup Entry*/
          return: Eina_Bool;
          params {
-            @in Eina_Bool autocheck; /*@Boolean to set autocheck on/off*/
+            @in autocheck: Eina_Bool; /*@Boolean to set autocheck on/off*/
          }
       }
       regex_glow_set {
@@ -106,7 +104,7 @@ class Ewe_Entry (Elm_Entry)
           @ingroup Entry*/
          return: Eina_Bool;
          params {
-            @in Eina_Bool glow; /*@Boolean to set signals emition on/off*/
+            @in glow: Eina_Bool; /*@Boolean to set signals emition on/off*/
          }
       }
    }
@@ -114,8 +112,8 @@ class Ewe_Entry (Elm_Entry)
       class.constructor;
       Eo.Base.constructor;
       Eo.Base.destructor;
-      Elm_Widget.theme_apply;
-      Elm_Widget.disable;
+      Elm.Widget.theme_apply;
+      Elm.Widget.disable;
    }
    events {
       focus,out;
diff --git a/src/lib/ewe_ruler.c b/src/lib/ewe_ruler.c
index c44e7dc..82a347e 100644
--- a/src/lib/ewe_ruler.c
+++ b/src/lib/ewe_ruler.c
@@ -944,14 +944,15 @@ ewe_ruler_add(Evas_Object *parent)
 
 /* -----------------------------EO operations-------------------------------- 
*/
 
-EOLIAN static void
+EOLIAN static Eo*
 _ewe_ruler_eo_base_constructor(Eo *obj, Ewe_Ruler_Smart_Data *sd)
 {
+   obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
    sd->obj = obj;
-   eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),
          evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
+   return obj;
 }
 
 EOLIAN static void
diff --git a/src/lib/ewe_ruler.eo b/src/lib/ewe_ruler.eo
index 2699e15..1b25050 100644
--- a/src/lib/ewe_ruler.eo
+++ b/src/lib/ewe_ruler.eo
@@ -1,9 +1,9 @@
-class Ewe_Ruler (Elm_Widget)
+class Ewe_Ruler (Elm.Widget)
 {
    eo_prefix: ewe_obj_ruler;
    data: Ewe_Ruler_Smart_Data;
-   properties {
-      horizontal {
+   methods {
+      @property horizontal {
          get {
          /*@
           Get the ruler orientation.
@@ -22,10 +22,10 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          values {
-           Eina_Bool horizontal;
+           horizontal: Eina_Bool;
          }
       }
-      step {
+      @property step {
          get {
          /*@
           Get step between marks of the ruler.
@@ -44,13 +44,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           uint step;
+           step: uint;
          }
       }
-      value_step {
+      @property value_step {
          get {
          /*@
           Get step between marks values of the ruler.
@@ -69,13 +69,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           double step;
+           step: double;
          }
       }
-      zero_offset {
+      @property zero_offset {
          get {
          /*@
           Get "zero pointer" mark position
@@ -93,13 +93,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           int offset;
+           offset: int;
          }
       }
-      format {
+      @property format {
          get {
          /*@
           Get format string of given scale.
@@ -118,13 +118,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           const(char) *format;
+           format: const(char)*;
          }
       }
-      style {
+      @property style {
          get {
          /*@
           Get style of given scale.
@@ -143,13 +143,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           const(char) *style;
+           style: const(char)*;
          }
       }
-      scale_visible {
+      @property scale_visible {
          get {
          /*@
           Get visibility of given scale
@@ -171,13 +171,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           Eina_Bool visible;
+           visible: Eina_Bool;
          }
       }
-      scale_middle_mark {
+      @property scale_middle_mark {
          get {
          /*@
           Get visibility of middle mark in given scale
@@ -199,13 +199,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Scale *scale;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           Eina_Bool middle_mark;
+           middle_mark: Eina_Bool;
          }
       }
-      marker_relative {
+      @property marker_relative {
          get {
          /*@
           Get marker position relative to given scale
@@ -225,14 +225,14 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Marker *marker;
-           Ewe_Ruler_Scale *scale;
+           marker: Ewe_Ruler_Marker*;
+           scale: Ewe_Ruler_Scale*;
          }
          values {
-           double rel_position;
+           rel_position: double;
          }
       }
-      marker_absolute {
+      @property marker_absolute {
          get {
          /*@
           Get marker position
@@ -251,13 +251,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Marker *marker;
+           marker: Ewe_Ruler_Marker*;
          }
          values {
-           int position;
+           position: int;
          }
       }
-      marker_visible {
+      @property marker_visible {
          get {
          /*@
           Get visibility of given marker
@@ -279,13 +279,13 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Marker *marker;
+           marker: Ewe_Ruler_Marker*;
          }
          values {
-           Eina_Bool visible;
+           visible: Eina_Bool;
          }
       }
-      marker_style {
+      @property marker_style {
          get {
          /*@
           Get style of given marker.
@@ -304,14 +304,12 @@ class Ewe_Ruler (Elm_Widget)
          return: Eina_Bool;
          }
          keys {
-           Ewe_Ruler_Marker *marker;
+           marker: Ewe_Ruler_Marker*;
          }
          values {
-           const(char) *style;
+           style: const(char)*;
          }
       }
-   }
-   methods {
       scale_add {
          /*@
           Add new scale to ruler.
@@ -322,7 +320,7 @@ class Ewe_Ruler (Elm_Widget)
           @ingroup ruler*/
          return: Ewe_Ruler_Scale *;
          params {
-            const(char) *style;
+            style: const(char)*;
          }
       }
       scale_del {
@@ -335,7 +333,7 @@ class Ewe_Ruler (Elm_Widget)
           @ingroup ruler*/
          return: Eina_Bool;
          params {
-            Ewe_Ruler_Scale *scale;
+            scale: Ewe_Ruler_Scale*;
          }
       }
       marker_add {
@@ -348,7 +346,7 @@ class Ewe_Ruler (Elm_Widget)
           @ingroup ruler*/
          return: Ewe_Ruler_Marker *;
          params {
-            const(char) *style;
+            style: const(char)*;
          }
       }
       marker_del {
@@ -361,7 +359,7 @@ class Ewe_Ruler (Elm_Widget)
           @ingroup ruler*/
          return: Eina_Bool;
          params {
-            Ewe_Ruler_Marker *marker;
+            marker: Ewe_Ruler_Marker*;
          }
       }
    }
@@ -375,7 +373,7 @@ class Ewe_Ruler (Elm_Widget)
       Evas.Object_Smart.move;
       Evas.Object_Smart.show;
       Evas.Object_Smart.hide;
-      Elm_Widget.theme_apply;
+      Elm.Widget.theme_apply;
    }
    events {
    }
diff --git a/src/lib/ewe_statusbar.c b/src/lib/ewe_statusbar.c
index 9f48877..ab1d31c 100644
--- a/src/lib/ewe_statusbar.c
+++ b/src/lib/ewe_statusbar.c
@@ -470,14 +470,15 @@ ewe_statusbar_item_statusbar_get(Ewe_Statusbar_Item *item 
EINA_UNUSED)
 
 /* -------EO operations---------- */
 
-EOLIAN void
+EOLIAN static Eo*
 _ewe_statusbar_eo_base_constructor(Eo *obj, Ewe_Statusbar_Smart_Data *sd)
 {
+   obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
    sd->obj = obj;
-   eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),
          evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
+   return obj;
 }
 
 EOLIAN void
diff --git a/src/lib/ewe_statusbar.eo b/src/lib/ewe_statusbar.eo
index af040cf..33da624 100644
--- a/src/lib/ewe_statusbar.eo
+++ b/src/lib/ewe_statusbar.eo
@@ -1,9 +1,9 @@
-class Ewe_Statusbar (Elm_Widget)
+class Ewe_Statusbar (Elm.Widget)
 {
    eo_prefix: ewe_obj_statusbar;
    data: Ewe_Statusbar_Smart_Data;
-   properties {
-      items_padding {
+   methods {
+      @property items_padding {
          set {
             /*@
             Set the padding between the statusbar items.
@@ -20,11 +20,11 @@ class Ewe_Statusbar (Elm_Widget)
             @ingroup Statusbar */
          }
          values {
-            int padding; /*@ padding size in pixels between items.*/
+            padding: int; /*@ padding size in pixels between items.*/
          }
       }
 
-     items_align {
+     @property items_align {
          set {
             /*@
             Set the alignment of the whole bounding statusbar of items.
@@ -42,11 +42,9 @@ class Ewe_Statusbar (Elm_Widget)
             @ingroup Statusbar */
          }
          values {
-           Ewe_Statusbar_Items_Align align; /*@The alignment of items. */
+           align: Ewe_Statusbar_Items_Align; /*@The alignment of items. */
          }
       }
-   }
-   methods {
      items_list_get {
             /*@
              Retrieve a list of the items, which exist into the statusbar.
@@ -73,10 +71,10 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Ewe_Statusbar_Item *;
          params {
-            @in Evas_Object *content; /*@ The object, which will be set into 
statusbar item as content. Can be NULL.*/
-            @in Ewe_Statusbar_Items_Type type; /*@ Item type. */
-            @in Evas_Smart_Cb func; /*@ Convenience function called when the 
item is clicked.*/
-            @in void *func_data; /*@ Data passed to func above.*/
+            @in content: Evas_Object*; /*@ The object, which will be set into 
statusbar item as content. Can be NULL.*/
+            @in type: Ewe_Statusbar_Items_Type; /*@ Item type. */
+            @in func: Evas_Smart_Cb; /*@ Convenience function called when the 
item is clicked.*/
+            @in func_data: void*; /*@ Data passed to func above.*/
          }
       }
 
@@ -90,10 +88,10 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Ewe_Statusbar_Item *;
          params {
-            @in Evas_Object *content; /*@ The object, which will be set into 
statusbar item as content. Can be NULL.*/
-            @in Ewe_Statusbar_Items_Type type; /*@ Item type. */
-            @in Evas_Smart_Cb func; /*@ Convenience function called when the 
item is clicked.*/
-            @in void *func_data; /*@ Data passed to func above.*/
+            @in content: Evas_Object*; /*@ The object, which will be set into 
statusbar item as content. Can be NULL.*/
+            @in type: Ewe_Statusbar_Items_Type; /*@ Item type. */
+            @in func: Evas_Smart_Cb; /*@ Convenience function called when the 
item is clicked.*/
+            @in func_data: void*; /*@ Data passed to func above.*/
          }
       }
 
@@ -107,8 +105,8 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Eina_Bool;
          params {
-            @in Ewe_Statusbar_Item *item; /*@The item to place before another 
item. */
-            @in Ewe_Statusbar_Item *before; /*@The item to place this new one 
before. */
+            @in item: Ewe_Statusbar_Item*; /*@The item to place before another 
item. */
+            @in before: Ewe_Statusbar_Item*; /*@The item to place this new one 
before. */
          }
       }
 
@@ -122,8 +120,8 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Eina_Bool;
          params {
-            @in Ewe_Statusbar_Item *item; /*@The item to place after another 
item. */
-            @in Ewe_Statusbar_Item *after; /*@The item to place this new one 
after. */
+            @in item: Ewe_Statusbar_Item*; /*@The item to place after another 
item. */
+            @in after: Ewe_Statusbar_Item*; /*@The item to place this new one 
after. */
          }
       }
 
@@ -136,8 +134,8 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Eina_Bool;
          params {
-            @in Ewe_Statusbar_Item *item_first; /*@The item, which will be 
swapped. */
-            @in Ewe_Statusbar_Item *item_second; /*@The item, which will be 
swapped. */
+            @in item_first: Ewe_Statusbar_Item*; /*@The item, which will be 
swapped. */
+            @in item_second: Ewe_Statusbar_Item*; /*@The item, which will be 
swapped. */
          }
       }
 
@@ -150,7 +148,7 @@ class Ewe_Statusbar (Elm_Widget)
 
          return: Eina_Bool;
          params {
-            @in Ewe_Statusbar_Item *item; /*@The statusbar item. */
+            @in item: Ewe_Statusbar_Item*; /*@The statusbar item. */
          }
       }
    }
diff --git a/src/lib/ewe_tabs.c b/src/lib/ewe_tabs.c
index 8c911bd..312b6f1 100644
--- a/src/lib/ewe_tabs.c
+++ b/src/lib/ewe_tabs.c
@@ -85,15 +85,16 @@ ewe_tabs_add(Evas_Object *parent)
    return obj;
 }
 
-EOLIAN static void
+EOLIAN static Eo *
 _ewe_tabs_eo_base_constructor(Eo *obj, Ewe_Tabs_Smart_Data *sd)
 {
+   obj = eo_do_super_ret(obj, MY_CLASS, obj, eo_constructor());
    sd->obj = obj;
    sd->horizontal = EINA_TRUE;
-   eo_do_super(obj, MY_CLASS, eo_constructor());
    eo_do(obj,
          evas_obj_type_set(MY_CLASS_NAME_LEGACY),
          evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
+   return obj;
 }
 
 EOLIAN static void
@@ -447,7 +448,7 @@ _ewe_tabs_elm_layout_text_set(Eo                   *obj 
EINA_UNUSED,
 }
 
 EOLIAN static const char *
-_ewe_tabs_elm_layout_text_get(Eo                   *obj EINA_UNUSED,
+_ewe_tabs_elm_layout_text_get(const Eo             *obj EINA_UNUSED,
                               Ewe_Tabs_Smart_Data  *sd,
                               const char           *part)
 {
diff --git a/src/lib/ewe_tabs.eo b/src/lib/ewe_tabs.eo
index d6e932f..00eb455 100644
--- a/src/lib/ewe_tabs.eo
+++ b/src/lib/ewe_tabs.eo
@@ -1,9 +1,9 @@
-class Ewe_Tabs (Elm_Widget, Elm_Layout)
+class Ewe_Tabs (Elm.Layout)
 {
    eo_prefix: ewe_obj_tabs;
    data: Ewe_Tabs_Smart_Data;
-   properties {
-      items_list {
+   methods {
+      @property items_list {
          get {
          /*@
           Get internal items list.
@@ -13,10 +13,10 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          }
          values {
-            const(Eina_List) *items;
+            items: const(Eina_List)*;
          }
       }
-      active_item {
+      @property active_item {
          set {
          /*@
           Activate tabs item.
@@ -34,10 +34,10 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @return active item on success, NULL otherwise*/
          }
          values {
-            Ewe_Tabs_Item *item;
+            item: Ewe_Tabs_Item*;
          }
       }
-      item_title {
+      @property item_title {
          set {
          /*@
           Set title of the tabs item.
@@ -56,13 +56,13 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          }
          keys {
-            Ewe_Tabs_Item *item @nonull;
+            item: Ewe_Tabs_Item* @nonull;
          }
          values {
-            Eina_Stringshare *title;
+            title: Eina_Stringshare*;
          }
       }
-      item_disabled {
+      @property item_disabled {
          set {
          /*@
           Enables or disables tabs item.
@@ -85,13 +85,13 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          }
          keys {
-            Ewe_Tabs_Item *item @nonull;
+            item: Ewe_Tabs_Item* @nonull;
          }
          values {
-            Eina_Bool disabled;
+            disabled: bool;
          }
       }
-      orient_horizontal {
+      @property orient_horizontal {
          set {
          /*@
           Set horizontal or vertical orient for tabs.
@@ -110,11 +110,9 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          }
          values {
-            Eina_Bool orient;
+            orient: bool;
          }
       }
-   }
-   methods {
       item_append {
          /*@
           Add an item after specified item.
@@ -125,9 +123,9 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          return: Ewe_Tabs_Item *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
-            @in Eina_Stringshare *title; /*@New items title*/
-            @in Eina_Stringshare *style; /*@New items style*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
+            @in title: Eina_Stringshare*; /*@New items title*/
+            @in style: Eina_Stringshare*; /*@New items style*/
          }
       }
       item_prepend {
@@ -140,9 +138,9 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          return: Ewe_Tabs_Item *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
-            @in Eina_Stringshare *title; /*@New items title*/
-            @in Eina_Stringshare *style; /*@New items style*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
+            @in title: Eina_Stringshare*; /*@New items title*/
+            @in style: Eina_Stringshare*; /*@New items style*/
          }
       }
       item_del {
@@ -154,7 +152,7 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
           @ingroup tabs*/
          return: Eina_Bool;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
          }
       }
       item_content_set {
@@ -166,8 +164,8 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Eina_Bool;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
-            @in Evas_Object *content; /*@New items content*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
+            @in content: Evas_Object*; /*@New items content*/
          }
       }
       item_content_get {
@@ -179,7 +177,7 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: const(Evas_Object) *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
          }
       }
       item_content_unset {
@@ -191,7 +189,7 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Evas_Object *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
          }
       }
       item_icon_set {
@@ -203,8 +201,8 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Eina_Bool;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
-            @in Evas_Object *icon; /*@New items icon*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
+            @in icon: Evas_Object*; /*@New items icon*/
          }
       }
       item_icon_unset {
@@ -216,7 +214,7 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Evas_Object *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
          }
       }
       item_button_set {
@@ -228,8 +226,8 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Eina_Bool;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
-            @in Evas_Object *button; /*@New items button*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
+            @in button: Evas_Object*; /*@New items button*/
          }
       }
       item_button_unset {
@@ -241,7 +239,7 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
          @ingroup tabs*/
          return: Evas_Object *;
          params {
-            @in Ewe_Tabs_Item *item; /*@The tabs item*/
+            @in item: Ewe_Tabs_Item*; /*@The tabs item*/
          }
       }
    }
@@ -254,9 +252,9 @@ class Ewe_Tabs (Elm_Widget, Elm_Layout)
       Evas.Object_Smart.move;
       Evas.Object_Smart.show;
       Evas.Object_Smart.hide;
-      Elm_Widget.style;
-      Elm_Layout.text_set;
-      Elm_Layout.text_get;
+      Elm.Widget.style;
+      Elm.Layout.text_set;
+      Elm.Layout.text_get;
    }
    events {
       item,activated;
diff --git a/src/lib/ewe_win.eo b/src/lib/ewe_win.eo
index f015ada..5c0a026 100644
--- a/src/lib/ewe_win.eo
+++ b/src/lib/ewe_win.eo
@@ -1,4 +1,4 @@
-class Ewe_Win (Elm_Win)
+class Ewe_Win (Elm.Win)
 {
    eo_prefix: ewe_obj_win;
    legacy_prefix: ewe_win;

-- 


Reply via email to