summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-05-12 11:20:18 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-05-12 11:21:01 -0400
commit789b36398301c45c9bfda932dba3e74af75e9d82 (patch)
tree0c46bbffc1850057129b41f40e926875c7fb9e56 /src/lib/elementary
parent67bf9eae6c72bedd3c0f28acf1c649d94f1e5478 (diff)
Efl.Ui.Progressbar_Legacy: Prevent unnecessary signal emit for contents
Summary: When call elm_progressbar_add, theme_apply of layout is called and _efl_ui_progressbar_legacy_efl_ui_widget_theme_apply is called. Then it calls the signal emit for the icon. this call is unnecessary. Test Plan: N/A Reviewers: Hermet, bowonryu, Jaehyun_Cho, YOhoho, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11811
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_progressbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_progressbar.c b/src/lib/elementary/efl_ui_progressbar.c
index 882c408bf6..213579e375 100644
--- a/src/lib/elementary/efl_ui_progressbar.c
+++ b/src/lib/elementary/efl_ui_progressbar.c
@@ -771,7 +771,7 @@ _efl_ui_progressbar_legacy_efl_ui_widget_theme_apply(Eo *obj, void *_pd EINA_UNU
771 771
772 int_ret = efl_ui_widget_theme_apply(efl_super(obj, EFL_UI_PROGRESSBAR_LEGACY_CLASS)); 772 int_ret = efl_ui_widget_theme_apply(efl_super(obj, EFL_UI_PROGRESSBAR_LEGACY_CLASS));
773 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret; 773 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
774 _icon_signal_emit(obj); 774 if (efl_finalized_get(obj)) _icon_signal_emit(obj);
775 775
776 return int_ret; 776 return int_ret;
777} 777}