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:
d66a255
)
main: use eo_isa() to check obj type.
author
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 10 Mar 2015 13:31:13 +0000
(22:31 +0900)
committer
ChunEon Park
<hermet@hermet.pe.kr>
Tue, 10 Mar 2015 13:31:13 +0000
(22:31 +0900)
legacy/elementary/src/lib/elm_main.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_main.c
b/legacy/elementary/src/lib/elm_main.c
index
4bb135e
..
67d46f2
100644
(file)
--- a/
legacy/elementary/src/lib/elm_main.c
+++ b/
legacy/elementary/src/lib/elm_main.c
@@
-1346,13
+1346,10
@@
elm_object_focus_set(Evas_Object *obj,
if (elm_widget_is(obj))
{
- const char *type;
-
if (focus == elm_widget_focus_get(obj)) return;
// ugly, but, special case for inlined windows
- type = evas_object_type_get(obj);
- if ((type) && (!strcmp(type, "elm_win")))
+ if (eo_isa(obj, ELM_WIN_CLASS))
{
Evas_Object *inlined = elm_win_inlined_image_object_get(obj);