projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dd2a20
)
elm_widget: magic error fix
author
WooHyun Jung
<wh0705.jung@samsung.com>
Thu, 17 Mar 2011 09:40:34 +0000
(18:40 +0900)
committer
WooHyun Jung
<wh0705.jung@samsung.com>
Thu, 17 Mar 2011 09:40:34 +0000
(18:40 +0900)
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
59c0f40
..
06a483f
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-1496,11
+1496,8
@@
elm_widget_focus_steal(Evas_Object *obj)
{
parent = elm_widget_parent_get(parent);
sd = evas_object_smart_data_get(parent);
- if (sd->resize_obj)
- {
- if (elm_widget_focus_get(sd->resize_obj))
- elm_widget_focused_object_clear(sd->resize_obj);
- }
+ if ((sd->resize_obj) && (elm_widget_focus_get(sd->resize_obj)))
+ elm_widget_focused_object_clear(sd->resize_obj);
else
{
const Eina_List *l;