diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-05-24 20:40:18 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2016-05-26 19:55:50 +0900 |
commit | 99924852abf4e92db329d2f9f89a43a3143eea0d (patch) | |
tree | f5d949063b037dcd130de9f5f96547ef31cf2c88 /src/lib/elementary/elm_layout_pack.c | |
parent | 56a7a66e97e231e8b9a7c3917055993fe36b4c30 (diff) | |
download | efl-99924852abf4e92db329d2f9f89a43a3143eea0d.tar.gz |
Efl: Remove part name in Efl.Container (use Efl.Part)
This touches Edje and also Elementary where part names are used.
This commit blew up in size since now all content part APIs
(get, set, unset) require to use Efl.Part instead.
This is a big refactoring commit, but no logic should
have been changed. Fingers crossed.
Diffstat (limited to 'src/lib/elementary/elm_layout_pack.c')
-rw-r--r-- | src/lib/elementary/elm_layout_pack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_layout_pack.c b/src/lib/elementary/elm_layout_pack.c index b8efa896f6..e8ad6d7c5b 100644 --- a/src/lib/elementary/elm_layout_pack.c +++ b/src/lib/elementary/elm_layout_pack.c @@ -16,6 +16,8 @@ #include "../evas/canvas/evas_box.eo.h" #include "../evas/canvas/evas_table.eo.h" +#warning TODO: Implement proper lifecycle of proxy objects (single call) + /* layout internals for box & table */ Eina_Bool _elm_layout_box_append(Eo *obj, Elm_Layout_Smart_Data *sd, const char *part, Evas_Object *child); Eina_Bool _elm_layout_box_prepend(Eo *obj, Elm_Layout_Smart_Data *sd, const char *part, Evas_Object *child); @@ -269,7 +271,7 @@ _efl_ui_layout_internal_box_efl_pack_linear_pack_direction_get(Eo *obj EINA_UNUS { ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EFL_ORIENT_NONE); - return efl_pack_direction_get(efl_content_get(wd->resize_obj, pd->part)); + return efl_pack_direction_get(efl_content_get(efl_part(wd->resize_obj, pd->part))); } EOLIAN static void |