From 001ec495a8aa828788161ae624b3a4df43e04daf Mon Sep 17 00:00:00 2001 From: Taehyub Kim Date: Thu, 14 May 2020 14:29:59 +0900 Subject: [PATCH] elc_popup: do not allow theme apply while constructing for performance Change-Id: I4df71eade988fd98159ea902124ece7466e57ce5 --- src/lib/elementary/elc_popup.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/elementary/elc_popup.c b/src/lib/elementary/elc_popup.c index 1a85a37..45123bf 100644 --- a/src/lib/elementary/elc_popup.c +++ b/src/lib/elementary/elc_popup.c @@ -592,6 +592,10 @@ _populate_theme_scroll(Elm_Popup_Data *sd) EOLIAN static Eina_Error _elm_popup_efl_ui_widget_theme_apply(Eo *obj, Elm_Popup_Data *sd) { + //TIZEN_ONLY(20200514): do not allow theme apply while constructing popup + if (!efl_finalized_get(obj)) return EFL_UI_THEME_APPLY_ERROR_NONE; + // + Elm_Popup_Item_Data *it; Eina_List *elist; char buf[1024], style[1024]; -- 2.7.4