ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=7cdab3d5ade097ee260d652075af4a5d3b465bc5

commit 7cdab3d5ade097ee260d652075af4a5d3b465bc5
Author: Andy Williams <a...@andywilliams.me>
Date:   Wed May 20 14:18:20 2015 +0100

    Update to latest eolian (getting stable we hope).
    
    Also mark code as a construction property
---
 elm_code/src/lib/widget/elm_code_widget.c  | 8 +++++---
 elm_code/src/lib/widget/elm_code_widget.eo | 3 +++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/elm_code/src/lib/widget/elm_code_widget.c 
b/elm_code/src/lib/widget/elm_code_widget.c
index 48a32a2..341f034 100644
--- a/elm_code/src/lib/widget/elm_code_widget.c
+++ b/elm_code/src/lib/widget/elm_code_widget.c
@@ -45,21 +45,23 @@ Eina_Unicode status_icons[] = {
      } \
 } while (0)
 
-EOLIAN static void
+EOLIAN static Eo *
 _elm_code_widget_eo_base_constructor(Eo *obj, Elm_Code_Widget_Data *pd)
 {
-   eo_do_super(obj, ELM_CODE_WIDGET_CLASS, eo_constructor());
+   obj = eo_do_super_ret(obj, ELM_CODE_WIDGET_CLASS, obj, eo_constructor());
 
    pd->cursor_line = 1;
    pd->cursor_col = 1;
 
    pd->tabstop = 8;
+
+   return obj;
 }
 
 EOLIAN static Eo *
 _elm_code_widget_eo_base_finalize(Eo *obj, Elm_Code_Widget_Data *pd)
 {
-   eo_do_super(obj, ELM_CODE_WIDGET_CLASS, eo_finalize());
+   obj = eo_do_super_ret(obj, ELM_CODE_WIDGET_CLASS, obj, eo_finalize());
 
    if (pd->code)
      return obj;
diff --git a/elm_code/src/lib/widget/elm_code_widget.eo 
b/elm_code/src/lib/widget/elm_code_widget.eo
index 1bde7c7..b9fad3b 100644
--- a/elm_code/src/lib/widget/elm_code_widget.eo
+++ b/elm_code/src/lib/widget/elm_code_widget.eo
@@ -212,6 +212,9 @@ class Elm_Code_Widget (Elm.Layout, Elm_Interface_Atspi_Text)
       Elm.Widget.focus_next_manager_is;
       Elm.Widget.focus_direction_manager_is;
    }
+   constructors {
+      .code;
+   }
    events {
       line,clicked;
       line,gutter,clicked;

-- 


Reply via email to