summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-05-12 11:20:21 -0400
committerMike Blumenkrantz <zmike@samsung.com>2020-05-12 11:21:01 -0400
commit183fa33fd0adfdc7b1d1b8a05230943b12382776 (patch)
tree6a2ced1795b303257f3cf4411e4e7d471e62e46a
parent789b36398301c45c9bfda932dba3e74af75e9d82 (diff)
Efl.Ui.Check_Legacy: Prevent unnecessary signal emit for contents
Summary: When call elm_check_add, theme_apply of layout is called and _efl_ui_check_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: akanad, Jaehyun_Cho, Hermet, YOhoho, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11812
-rw-r--r--src/lib/elementary/efl_ui_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_check.c b/src/lib/elementary/efl_ui_check.c
index 1ac817e29f..cce98bf5a0 100644
--- a/src/lib/elementary/efl_ui_check.c
+++ b/src/lib/elementary/efl_ui_check.c
@@ -481,7 +481,7 @@ _efl_ui_check_legacy_efl_ui_widget_theme_apply(Eo *obj, void *_pd EINA_UNUSED)
481 int_ret = efl_ui_widget_theme_apply(efl_super(obj, EFL_UI_CHECK_LEGACY_CLASS)); 481 int_ret = efl_ui_widget_theme_apply(efl_super(obj, EFL_UI_CHECK_LEGACY_CLASS));
482 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret; 482 if (int_ret == EFL_UI_THEME_APPLY_ERROR_GENERIC) return int_ret;
483 483
484 _icon_signal_emit(obj); 484 if (efl_finalized_get(obj)) _icon_signal_emit(obj);
485 485
486 return int_ret; 486 return int_ret;
487} 487}