From: Jean-Philippe Andre Date: Mon, 25 Sep 2017 02:19:49 +0000 (+0900) Subject: layout: Remove default content implementation X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2521 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f76569a8b137a51901b21c4f91cb06cf4d09f41a;p=platform%2Fupstream%2Fefl.git layout: Remove default content implementation Legacy API is supposed to resolve the default content part name before calling the EO API. Efl.Ui.Layout itself doesn't handle default content. --- diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 04d8956..d31c39d 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -1132,24 +1132,6 @@ _efl_ui_layout_content_unset(Eo *obj, Efl_Ui_Layout_Data *sd, const char *part) } EOLIAN static Eina_Bool -_efl_ui_layout_efl_container_content_set(Eo *obj, Efl_Ui_Layout_Data *sd, Evas_Object *content) -{ - return _efl_ui_layout_content_set(obj, sd, NULL, content); -} - -EOLIAN static Evas_Object* -_efl_ui_layout_efl_container_content_get(Eo *obj EINA_UNUSED, Efl_Ui_Layout_Data *sd) -{ - return _efl_ui_layout_content_get(obj, sd, NULL); -} - -EOLIAN static Evas_Object* -_efl_ui_layout_efl_container_content_unset(Eo *obj, Efl_Ui_Layout_Data *sd) -{ - return _efl_ui_layout_content_unset(obj, sd, NULL); -} - -EOLIAN static Eina_Bool _efl_ui_layout_efl_container_content_remove(Eo *obj, Efl_Ui_Layout_Data *sd EINA_UNUSED, Efl_Gfx *content) { diff --git a/src/lib/elementary/efl_ui_layout.eo b/src/lib/elementary/efl_ui_layout.eo index d0154b9..8488644e 100644 --- a/src/lib/elementary/efl_ui_layout.eo +++ b/src/lib/elementary/efl_ui_layout.eo @@ -70,8 +70,6 @@ class Efl.Ui.Layout (Elm.Widget, Efl.Part, Efl.Container, Efl.File, Efl.Container.content_count; Efl.Container.content_remove; Efl.Container.content_iterate; - Efl.Container.content { get; set; } - Efl.Container.content_unset; Efl.Part.part; Efl.Ui.View.model { get; set; } Efl.Ui.Model.Connect.connect;