elm: Use EFL_UI_WIN_CLASS to check if an object is window

The EFL_ACCESS_WINDOW_INTERFACE was used to check if an object is window.
This could make sense. But it would be better to use EFL_UI_WIN_CLASS for
consistency.
This commit is contained in:
Shinwoo Kim 2017-12-06 14:54:49 +09:00
parent 6a6685ab21
commit 763c634dce
1 changed files with 1 additions and 1 deletions

View File

@ -3882,7 +3882,7 @@ _elm_widget_onscreen_is(Evas_Object *widget)
return EINA_FALSE;
// window does not have to check viewport and geometry
if (efl_isa(widget, EFL_ACCESS_WINDOW_INTERFACE))
if (efl_isa(widget, EFL_UI_WIN_CLASS))
return EINA_TRUE;
// check if on canvas