aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_widget.c
diff options
context:
space:
mode:
authorShinwoo Kim <cinoo.kim@samsung.com>2017-12-06 14:54:49 +0900
committerShinwoo Kim <cinoo.kim@samsung.com>2017-12-06 14:54:49 +0900
commit763c634dced12e5973f05b0a1958e8e51b6fbff8 (patch)
tree9bc5c3fe8d8cfb56bd30c3c91c2ac5311f1cbf24 /src/lib/elementary/elm_widget.c
parentelm: Fix _elm_widget_onscreen_is for window (diff)
downloadefl-763c634dced12e5973f05b0a1958e8e51b6fbff8.tar.gz
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.
Diffstat (limited to 'src/lib/elementary/elm_widget.c')
-rw-r--r--src/lib/elementary/elm_widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_widget.c b/src/lib/elementary/elm_widget.c
index 7b7497b045..a059c32457 100644
--- a/src/lib/elementary/elm_widget.c
+++ b/src/lib/elementary/elm_widget.c
@@ -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