projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6685a
)
elm: Use EFL_UI_WIN_CLASS to check if an object is window
author
Shinwoo Kim
<cinoo.kim@samsung.com>
Wed, 6 Dec 2017 05:54:49 +0000
(14:54 +0900)
committer
Shinwoo Kim
<cinoo.kim@samsung.com>
Wed, 6 Dec 2017 05:54:49 +0000
(14:54 +0900)
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.
src/lib/elementary/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_widget.c
b/src/lib/elementary/elm_widget.c
index
7b7497b
..
a059c32
100644
(file)
--- 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