From 99924852abf4e92db329d2f9f89a43a3143eea0d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 24 May 2016 20:40:18 +0900 Subject: 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. --- src/lib/elementary/elm_layout_pack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/elementary/elm_layout_pack.c') 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 -- cgit v1.2.1