From 5fd046ed04887c0790fdaf7588867d266cc823fe Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Wed, 13 Aug 2014 10:58:56 -0400 Subject: [PATCH] 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 --- 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 a0cdae1f21..2e20c8dfd6 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 af11de960d..a75a932273 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -943,7 +943,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; @@ -988,7 +988,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; @@ -1000,7 +1000,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;