projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb9c91
)
elementary: Fix erroneous usage of EINA_UNUSED
author
Chris Michael
<cpmichael@osg.samsung.com>
Wed, 29 Jun 2016 15:48:53 +0000
(11:48 -0400)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_cnp.c
b/src/lib/elementary/elm_cnp.c
index
a45ae51
..
7bb2190
100644
(file)
--- a/
src/lib/elementary/elm_cnp.c
+++ b/
src/lib/elementary/elm_cnp.c
@@
-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 */
}