forked from enlightenment/efl
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:
parent
6a6685ab21
commit
763c634dce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue