From 6e559022e7178315837537dbe63b6ba551f79d9e Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Tue, 10 Mar 2015 16:56:22 +0900 Subject: [PATCH] layout: here default content alias can be acceptable. elm_object_content_set() for layout will be working. @fix. --- src/lib/elm_layout.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c index 4b8513e..4fbb66a 100644 --- a/src/lib/elm_layout.c +++ b/src/lib/elm_layout.c @@ -34,6 +34,12 @@ static const Elm_Layout_Part_Alias_Description _text_aliases[] = {NULL, NULL} }; +static const Elm_Layout_Part_Alias_Description _content_aliases[] = +{ + {"default", "elm.swallow.content"}, + {NULL, NULL} +}; + /* these are data operated by layout's class functions internally, and * should not be messed up by inhering classes */ typedef struct _Elm_Layout_Sub_Object_Data Elm_Layout_Sub_Object_Data; @@ -585,7 +591,7 @@ _elm_layout_text_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EIN EOLIAN static const Elm_Layout_Part_Alias_Description* _elm_layout_content_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EINA_UNUSED) { - return NULL; + return _content_aliases; } EOLIAN static Eina_Bool -- 2.7.4