summaryrefslogtreecommitdiff
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
parent6a6685ab21e70fb0f35a0f10ffbad6efe285620d (diff)
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.
-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)
3882 return EINA_FALSE; 3882 return EINA_FALSE;
3883 3883
3884 // window does not have to check viewport and geometry 3884 // window does not have to check viewport and geometry
3885 if (efl_isa(widget, EFL_ACCESS_WINDOW_INTERFACE)) 3885 if (efl_isa(widget, EFL_UI_WIN_CLASS))
3886 return EINA_TRUE; 3886 return EINA_TRUE;
3887 3887
3888 // check if on canvas 3888 // check if on canvas