forked from enlightenment/efl
Efl.ui.progressbar: remove duplicate call
eina_value_set() was already getting called
This commit is contained in:
parent
c99b37ad47
commit
98f38ac0f7
|
@ -114,8 +114,6 @@ _units_set(Evas_Object *obj)
|
|||
// Keeping this bug since the legacy code was like that.
|
||||
if (sd->is_legacy_format_string && !sd->is_legacy_format_cb)
|
||||
eina_value_set(&val, 100 * sd->val);
|
||||
else
|
||||
eina_value_set(&val, sd->val);
|
||||
|
||||
eina_strbuf_reset(sd->format_strbuf);
|
||||
sd->format_cb(sd->format_cb_data, sd->format_strbuf, val);
|
||||
|
|
Loading…
Reference in New Issue