elementary: Fix erroneous usage of EINA_UNUSED
authorChris Michael <cpmichael@osg.samsung.com>
Wed, 29 Jun 2016 15:48:53 +0000 (11:48 -0400)
committerChris Michael <cpmichael@osg.samsung.com>
Wed, 29 Jun 2016 15:48:53 +0000 (11:48 -0400)
'data' parameter is actually used in this function, so remove mis-use
of EINA_UNUSED in function

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
src/lib/elementary/elm_cnp.c

index a45ae51..7bb2190 100644 (file)
@@ -411,7 +411,7 @@ _dnd_types_to_format(const char **types, int ntypes)
 }
 
 static Eina_Bool
-_drag_cancel_animate(void *data EINA_UNUSED, double pos)
+_drag_cancel_animate(void *data, double pos)
 {  /* Animation to "move back" drag-window */
    if (pos >= 0.99)
      {
@@ -3701,7 +3701,6 @@ _wl_dnd_end(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
              /* No animation drop was committed */
              evas_object_del(dragwin);
           }
-
         dragwin = NULL;  /* if not freed here, free in end of anim */
      }