win: Avoid CRI message before finalized

Test case was Bg EO API in elm_test
This commit is contained in:
Jean-Philippe Andre 2017-07-07 15:34:02 +09:00
parent d6652c1138
commit f8d8136b2c
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}