forked from enlightenment/efl
ecore-x - handle prop get fail for xdnd type set
fix CID 1039693
This commit is contained in:
parent
8762004bf1
commit
f8e036d5af
|
@ -264,8 +264,9 @@ ecore_x_dnd_type_set(Ecore_X_Window win,
|
|||
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
atom = ecore_x_atom_get(type);
|
||||
ecore_x_window_prop_property_get(win, ECORE_X_ATOM_XDND_TYPE_LIST,
|
||||
XA_ATOM, 32, &old_data, &num);
|
||||
if (ecore_x_window_prop_property_get(win, ECORE_X_ATOM_XDND_TYPE_LIST,
|
||||
XA_ATOM, 32, &old_data, &num) == 0)
|
||||
return;
|
||||
oldset = (Ecore_X_Atom *)old_data;
|
||||
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
|
|
Loading…
Reference in New Issue