devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=f25f074be590f42d5af4841bae07d0de059e7efa

commit f25f074be590f42d5af4841bae07d0de059e7efa
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Fri Jul 24 13:09:05 2015 -0400

    enlightenment: Remove listener for XDnD status
    
    As we don't do anything within this handler, having it is just
    pointless. Remove it. Fixes Coverity CID1267214
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_dnd.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index 11a32ac..c502a8e 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -124,7 +124,6 @@ e_dnd_init(void)
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_ENTER, 
_e_dnd_cb_event_dnd_enter, NULL);
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_LEAVE, 
_e_dnd_cb_event_dnd_leave, NULL);
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_POSITION, 
_e_dnd_cb_event_dnd_position, NULL);
-   E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_STATUS, 
_e_dnd_cb_event_dnd_status, NULL);
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_FINISHED, 
_e_dnd_cb_event_dnd_finished, NULL);
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_XDND_DROP, 
_e_dnd_cb_event_dnd_drop, NULL);
    E_LIST_HANDLER_APPEND(_event_handlers, ECORE_X_EVENT_SELECTION_NOTIFY, 
_e_dnd_cb_event_dnd_selection, NULL);
@@ -1385,15 +1384,6 @@ _e_dnd_cb_event_dnd_position(void *data EINA_UNUSED, int 
type EINA_UNUSED, void
 }
 
 static Eina_Bool
-_e_dnd_cb_event_dnd_status(void *data EINA_UNUSED, int type EINA_UNUSED, void 
*event)
-{
-   Ecore_X_Event_Xdnd_Status *ev = event;
-
-   if (ev->win != _drag_win) return ECORE_CALLBACK_PASS_ON;
-   return ECORE_CALLBACK_PASS_ON;
-}
-
-static Eina_Bool
 _e_dnd_cb_event_dnd_finished(void *data EINA_UNUSED, int type EINA_UNUSED, 
void *event EINA_UNUSED)
 {
 /*

-- 


Reply via email to