elm_label: remove needless variable
Reviewers: Hermet Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6238
This commit is contained in:
parent
1b245787fe
commit
07c627a977
|
@ -338,20 +338,17 @@ static Eina_Bool
|
|||
_elm_label_text_set(Eo *obj, Elm_Label_Data *sd, const char *part, const char *label)
|
||||
{
|
||||
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
|
||||
Eina_Bool int_ret = EINA_TRUE;
|
||||
|
||||
if (!label) label = "";
|
||||
_label_format_set(wd->resize_obj, sd->format);
|
||||
|
||||
efl_text_markup_set(efl_part(efl_super(obj, MY_CLASS), part), label);
|
||||
|
||||
if (int_ret)
|
||||
{
|
||||
sd->lastw = -1;
|
||||
elm_layout_sizing_eval(obj);
|
||||
_label_slide_change(obj);
|
||||
}
|
||||
return int_ret;
|
||||
sd->lastw = -1;
|
||||
elm_layout_sizing_eval(obj);
|
||||
_label_slide_change(obj);
|
||||
|
||||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
static char *
|
||||
|
|
Loading…
Reference in New Issue