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
This commit is contained in:
Yeongjong Lee 2019-01-09 12:44:50 -05:00 committed by Mike Blumenkrantz
parent 121c4030fe
commit e3aca63428
1 changed files with 0 additions and 1 deletions

View File

@ -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);