aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYeongjong Lee <cleanlyj@naver.com>2019-01-09 12:44:50 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-01-09 13:08:36 -0500
commite3aca634284d1c675d7d970c34e27c37e98f382f (patch)
tree24f3c3bdadc7c20032f15d7867fcc3facc97f01c /src
parentecore-con: Add missing EINA_UNUSED for unused parameter (diff)
downloadefl-e3aca634284d1c675d7d970c34e27c37e98f382f.tar.gz
efl_ui_text: remove duplicated empty string initialization
Summary: string of text_obj is already initialized in evas_object_textblock_init. also, this patch fixes text_set bug. Test Plan: ``` efl_add(EFL_UI_TEXT_CLASS, parent, efl_text_set(efl_added, "string")); ``` or elementary_test -to 'efl.ui.slider' Reviewers: herdsman, zmike Reviewed By: zmike Subscribers: zmike, segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7561
Diffstat (limited to 'src')
-rw-r--r--src/lib/elementary/efl_ui_text.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_text.c b/src/lib/elementary/efl_ui_text.c
index b3761e0a3a..000ba0e3bb 100644
--- a/src/lib/elementary/efl_ui_text.c
+++ b/src/lib/elementary/efl_ui_text.c
@@ -2168,7 +2168,6 @@ _efl_ui_text_efl_object_finalize(Eo *obj,
//efl_text_font_set(sd->text_obj, "Sans", 12);
sd->single_line = !efl_text_multiline_get(sd->text_obj);
- efl_text_set(sd->text_obj, "");
efl_pack_table(sd->text_table, sd->text_obj, 0, 0, 1, 1);
efl_pack_table(sd->text_table, sd->text_guide_obj, 0, 0, 1, 1);