From 4c750dfd37b321ff7df59a22fe00b4ea13472512 Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Wed, 3 Oct 2012 16:30:37 +0000 Subject: [PATCH] Ecore_Evas: Cleanup unused function prototypes Signed-off-by: Eduardo Lima (Etrunko) SVN revision: 77374 --- legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h | 1 - legacy/ecore/src/lib/ecore_evas/ecore_evas.c | 6 ++---- legacy/ecore/src/lib/ecore_evas/ecore_evas_private.h | 6 ------ 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h index 8709ab2d2e..8a93180782 100644 --- a/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h +++ b/legacy/ecore/src/lib/ecore_evas/Ecore_Evas.h @@ -911,7 +911,6 @@ EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, unsigned EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location); EAPI void ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y); -/* EAPI void ecore_evas_wayland_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); */ EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type); EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee); diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c index 7a2ac9a720..0cafe92d9e 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas.c +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas.c @@ -2820,12 +2820,9 @@ ecore_evas_wayland_window_get(const Ecore_Evas *ee) } EAPI void -ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y) +ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, int hot_y __UNUSED__) { - Ecore_Wl_Window *win; - win = ecore_evas_wayland_window_get(ee); - /* ecore_wl_window_pointer_set(win, ee->engine.wl.buffer, hot_x, hot_y); */ } #else @@ -2858,4 +2855,5 @@ ecore_evas_wayland_pointer_set(Ecore_Evas *ee __UNUSED__, int hot_x __UNUSED__, { } + #endif diff --git a/legacy/ecore/src/lib/ecore_evas/ecore_evas_private.h b/legacy/ecore/src/lib/ecore_evas/ecore_evas_private.h index 37d34aa529..f79863bbc2 100644 --- a/legacy/ecore/src/lib/ecore_evas/ecore_evas_private.h +++ b/legacy/ecore/src/lib/ecore_evas/ecore_evas_private.h @@ -434,17 +434,11 @@ int _ecore_evas_ews_shutdown(void); #ifdef BUILD_ECORE_EVAS_WAYLAND_SHM void _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location); void _ecore_evas_wayland_shm_move(Ecore_Evas *ee, int x, int y); -void _ecore_evas_wayland_shm_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); -void _ecore_evas_wayland_shm_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); -void _ecore_evas_wayland_shm_type_set(Ecore_Evas *ee, int type); #endif #ifdef BUILD_ECORE_EVAS_WAYLAND_EGL void _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location); void _ecore_evas_wayland_egl_move(Ecore_Evas *ee, int x, int y); -void _ecore_evas_wayland_egl_drag_start(Ecore_Evas *ee, Ecore_Evas *drag_ee, void *source); -void _ecore_evas_wayland_egl_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); -void _ecore_evas_wayland_egl_type_set(Ecore_Evas *ee, int type); #endif void _ecore_evas_fps_debug_init(void);