summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-03-10 16:56:22 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-03-10 16:56:22 +0900
commit8832a5f11c2d350e94cf5605f4951411570d9404 (patch)
treee8bd5f854f06a35d31fa5050e86ca851be18c3f1
parentd4eaee4eb97210ed153c161fc8b7d21967f61131 (diff)
layout: here default content alias can be acceptable.
elm_object_content_set() for layout will be working. @fix.
-rw-r--r--src/lib/elm_layout.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index 5c3e01b46..6e3ccb257 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[] =
34 {NULL, NULL} 34 {NULL, NULL}
35}; 35};
36 36
37static const Elm_Layout_Part_Alias_Description _content_aliases[] =
38{
39 {"default", "elm.swallow.content"},
40 {NULL, NULL}
41};
42
37/* these are data operated by layout's class functions internally, and 43/* these are data operated by layout's class functions internally, and
38 * should not be messed up by inhering classes */ 44 * should not be messed up by inhering classes */
39typedef struct _Elm_Layout_Sub_Object_Data Elm_Layout_Sub_Object_Data; 45typedef struct _Elm_Layout_Sub_Object_Data Elm_Layout_Sub_Object_Data;
@@ -588,7 +594,7 @@ _elm_layout_text_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EIN
588EOLIAN static const Elm_Layout_Part_Alias_Description* 594EOLIAN static const Elm_Layout_Part_Alias_Description*
589_elm_layout_content_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EINA_UNUSED) 595_elm_layout_content_aliases_get(Eo *obj EINA_UNUSED, Elm_Layout_Smart_Data *_pd EINA_UNUSED)
590{ 596{
591 return NULL; 597 return _content_aliases;
592} 598}
593 599
594EOLIAN static Eina_Bool 600EOLIAN static Eina_Bool