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:
3cb6db4
)
DnD: move NULL check to a better place
author
Daniel Zaoui
<daniel.zaoui@samsung.com>
Wed, 26 Jun 2013 12:02:09 +0000
(15:02 +0300)
committer
Sungho Kwak
<sungho1.kwak@samsung.com>
Fri, 28 Jun 2013 10:46:35 +0000
(19:46 +0900)
src/lib/elm_cnp.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_cnp.c
b/src/lib/elm_cnp.c
index
80a9ddb
..
4c2c02b
100644
(file)
--- a/
src/lib/elm_cnp.c
+++ b/
src/lib/elm_cnp.c
@@
-1222,6
+1222,7
@@
_x11_dnd_enter(void *data __UNUSED__, int etype __UNUSED__, void *ev)
int i;
Dropable *dropable;
+ if (!enter) return EINA_TRUE;
dropable = _x11_dropable_find(enter->win);
if (dropable)
{
@@
-1230,7
+1231,7
@@
_x11_dnd_enter(void *data __UNUSED__, int etype __UNUSED__, void *ev)
}
/* Skip it */
cnp_debug("enter types=%p (%d)\n", enter->types, enter->num_types);
- if ((!enter
) || (!enter
->num_types) || (!enter->types)) return EINA_TRUE;
+ if ((!enter->num_types) || (!enter->types)) return EINA_TRUE;
cnp_debug("Types\n");
savedtypes.ntypes = enter->num_types;