From fc885b09f51061ca2770741c4b788289d0fb44f1 Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Thu, 25 Jan 2018 22:10:32 +0900 Subject: [PATCH] elm: make elm_object_text_get return markup info as well. This commit solves following issue https://phab.enlightenment.org/T6642 If I set object text as below elm_object_text_set(btn, "Some
text"); then elm_object_text_get(btn) returns "Some text" not "Some
text". --- src/lib/elementary/efl_ui_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c index 6278ab9..d586dbb 100644 --- a/src/lib/elementary/efl_ui_layout.c +++ b/src/lib/elementary/efl_ui_layout.c @@ -2594,7 +2594,7 @@ elm_layout_text_get(const Eo *obj, const char *part) else if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_TRUE)) return NULL; - return efl_text_get(efl_part(obj, part)); + return efl_text_markup_get(efl_part(obj, part)); } EAPI Eina_Bool -- 2.7.4