Build: apply changes for eo syntax and gfx api.

Due to changes in EO syntax and efl_gfx_* api signature change build was
failed.
This commit is contained in:
Mykyta Biliavskyi 2017-09-27 13:25:26 +03:00
parent b13596ac2c
commit 900330174a
2 changed files with 8 additions and 8 deletions

View File

@ -119,11 +119,11 @@ class Enventor.Object (Elm.Widget, Efl.File) {
return: bool;
params {
@in type: Enventor_Path_Type;
@in pathes: own(const(list<own(stringshare)>));
@in pathes: const (list< stringshare @owned >) @owned ;
}
}
path_get {
return: const(list<own(stringshare)>);
return: const (list< stringshare @owned >) @owned ;
params {
@in type: Enventor_Path_Type;
}

View File

@ -275,26 +275,26 @@ _enventor_object_efl_canvas_group_group_member_add(Eo *obj, Enventor_Object_Data
}
EOLIAN static void
_enventor_object_efl_gfx_position_set(Eo *obj, Enventor_Object_Data *pd EINA_UNUSED, Evas_Coord x, Evas_Coord y)
_enventor_object_efl_gfx_position_set(Eo *obj, Enventor_Object_Data *pd EINA_UNUSED, Eina_Position2D pos)
{
efl_gfx_position_set(efl_super(obj, MY_CLASS), x, y);
efl_gfx_position_set(efl_super(obj, MY_CLASS), pos);
Eina_Iterator *it = evas_object_smart_iterator_new(obj);
Evas_Object *o;
EINA_ITERATOR_FOREACH(it, o)
evas_object_move(o, x, y);
evas_object_move(o, pos.x, pos.y);
eina_iterator_free(it);
}
EOLIAN static void
_enventor_object_efl_gfx_size_set(Eo *obj, Enventor_Object_Data *pd EINA_UNUSED, Evas_Coord w, Evas_Coord h)
_enventor_object_efl_gfx_size_set(Eo *obj, Enventor_Object_Data *pd EINA_UNUSED, Eina_Size2D size)
{
efl_gfx_size_set(efl_super(obj, MY_CLASS), w, h);
efl_gfx_size_set(efl_super(obj, MY_CLASS), size);
Eina_Iterator *it = evas_object_smart_iterator_new(obj);
Evas_Object *o;
EINA_ITERATOR_FOREACH(it, o)
evas_object_resize(o, w, h);
evas_object_resize(o, size.w, size.h);
eina_iterator_free(it);
}