projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7ab322
)
elm_widget.c: handle focus fail case.
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 9 Jun 2013 07:54:00 +0000
(16:54 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Sun, 9 Jun 2013 07:54:00 +0000
(16:54 +0900)
src/lib/elm_widget.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_widget.c
b/src/lib/elm_widget.c
index
70c3d77
..
d2e1166
100644
(file)
--- a/
src/lib/elm_widget.c
+++ b/
src/lib/elm_widget.c
@@
-5852,6
+5852,7
@@
static void
_elm_widget_on_focus(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
+ if (ret) *ret = EINA_FALSE;
if (elm_widget_can_focus_get(obj))
{
@@
-5860,6
+5861,8
@@
_elm_widget_on_focus(Eo *obj EINA_UNUSED, void *_pd EINA_UNUSED, va_list *list)
else
evas_object_smart_callback_call(obj, "unfocused", NULL);
}
+ else
+ return;
if (ret) *ret = EINA_TRUE;
}