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:
b29e1d8
)
win: Check null before calling elm_widget_highlight_in_theme_get(). It
author
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 15 Jan 2014 17:33:46 +0000
(
02:33
+0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Wed, 15 Jan 2014 17:33:46 +0000
(
02:33
+0900)
can be null.
'target' can be null when the focus in is just called.
src/lib/elm_win.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_win.c
b/src/lib/elm_win.c
index
637612a
..
072cee9
100644
(file)
--- a/
src/lib/elm_win.c
+++ b/
src/lib/elm_win.c
@@
-1373,7
+1373,7
@@
_elm_win_object_focus_in(void *data,
target = _elm_win_focus_target_get(obj);
sd->focus_highlight.cur.target = target;
- if (elm_widget_highlight_in_theme_get(target))
+ if (
target &&
elm_widget_highlight_in_theme_get(target))
sd->focus_highlight.cur.handled = EINA_TRUE;
else
_elm_win_focus_target_callbacks_add(sd);