devilhorns pushed a commit to branch master.

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

commit ea7721026cae41f6e9b691f702fb0febc70d1d7d
Author: Chris Michael <[email protected]>
Date:   Wed Aug 13 10:58:56 2014 -0400

    ecore-wayland: Add missing EINA_UNUSED and fix it's usage in other
    places
    
    Some paramaters here were being used, while others were not. This
    fixes the various usage of EINA_UNUSED here to be proper.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/ecore_wayland/ecore_wl.c        | 2 +-
 src/lib/ecore_wayland/ecore_wl_window.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/ecore_wayland/ecore_wl.c b/src/lib/ecore_wayland/ecore_wl.c
index 5a21932..68b0a19 100644
--- a/src/lib/ecore_wayland/ecore_wl.c
+++ b/src/lib/ecore_wayland/ecore_wl.c
@@ -65,7 +65,7 @@ static const struct wl_callback_listener 
_ecore_wl_anim_listener =
 };
 
 static void 
-xdg_shell_ping(void *data, struct xdg_shell *shell, uint32_t serial)
+xdg_shell_ping(void *data EINA_UNUSED, struct xdg_shell *shell, uint32_t 
serial)
 {
    xdg_shell_pong(shell, serial);
 }
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c 
b/src/lib/ecore_wayland/ecore_wl_window.c
index 1dc4d6a..b8d276d 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -948,7 +948,7 @@ _ecore_wl_window_cb_configure(void *data, struct 
wl_shell_surface *shell_surface
 }
 
 static void
-_ecore_xdg_handle_surface_configure(void *data, struct xdg_surface 
*xdg_surface, int32_t width, int32_t height, struct wl_array *states, uint32_t 
serial)
+_ecore_xdg_handle_surface_configure(void *data, struct xdg_surface 
*xdg_surface EINA_UNUSED, int32_t width, int32_t height, struct wl_array 
*states, uint32_t serial)
 {
    Ecore_Wl_Window *win = data;
    uint32_t *p;
@@ -993,7 +993,7 @@ _ecore_xdg_handle_surface_configure(void *data, struct 
xdg_surface *xdg_surface,
 }
 
 static void 
-_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface 
*shell_surface EINA_UNUSED)
+_ecore_wl_window_cb_popup_done(void *data, struct wl_shell_surface 
*shell_surface)
 {
    Ecore_Wl_Window *win;
 
@@ -1005,7 +1005,7 @@ _ecore_wl_window_cb_popup_done(void *data, struct 
wl_shell_surface *shell_surfac
 }
 
 static void
-_ecore_xdg_handle_popup_done(void *data, struct xdg_popup *xdg_popup, unsigned 
int serial)
+_ecore_xdg_handle_popup_done(void *data, struct xdg_popup *xdg_popup, unsigned 
int serial EINA_UNUSED)
 {
    Ecore_Wl_Window *win;
 

-- 


Reply via email to