summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2018-01-31 18:04:39 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2018-01-31 18:04:39 +0900
commit98f38ac0f7d4e88779eebb31d0e191222c6ca41c (patch)
tree4a40843226e1954d3bca3e31a8343fda64164897
parentc99b37ad47f022cfbaca5fde230572df2136e104 (diff)
Efl.ui.progressbar: remove duplicate call
eina_value_set() was already getting called
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index b8129fec4f..2177cd28f6 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -114,8 +114,6 @@ _units_set(Evas_Object *obj)
114 // Keeping this bug since the legacy code was like that. 114 // Keeping this bug since the legacy code was like that.
115 if (sd->is_legacy_format_string && !sd->is_legacy_format_cb) 115 if (sd->is_legacy_format_string && !sd->is_legacy_format_cb)
116 eina_value_set(&val, 100 * sd->val); 116 eina_value_set(&val, 100 * sd->val);
117 else
118 eina_value_set(&val, sd->val);
119 117
120 eina_strbuf_reset(sd->format_strbuf); 118 eina_strbuf_reset(sd->format_strbuf);
121 sd->format_cb(sd->format_cb_data, sd->format_strbuf, val); 119 sd->format_cb(sd->format_cb_data, sd->format_strbuf, val);