From: Jean-Philippe Andre Date: Fri, 7 Jul 2017 06:34:02 +0000 (+0900) Subject: win: Avoid CRI message before finalized X-Git-Tag: upstream/1.20.0~338 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8d8136b2ce997f6f23c54b6d27b66504a91faf4;p=platform%2Fupstream%2Fefl.git win: Avoid CRI message before finalized Test case was Bg EO API in elm_test --- diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index a6a1090..b763f21 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -4393,6 +4393,7 @@ _elm_win_frame_style_update(Efl_Ui_Win_Data *sd, Eina_Bool force_emit, Eina_Bool if (!sd->frame_obj) { if (EINA_LIKELY(sd->type == ELM_WIN_FAKE)) return; + if (!efl_finalized_get(sd->obj)) return; CRI("Window has no frame object!"); return; }