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 <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-08-13 10:58:56 -04:00
parent 7c1f71bcce
commit 5fd046ed04
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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;