Update to latest eolian (getting stable we hope).

Also mark code as a construction property
This commit is contained in:
Andy Williams 2015-05-20 14:18:20 +01:00
parent ff7d8550e5
commit 7cdab3d5ad
2 changed files with 8 additions and 3 deletions

View File

@ -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;

View File

@ -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;