devilhorns pushed a commit to branch devs/devilhorns/wayland.

commit 3d01e30fb72f6764149688dae84e2941e729cfe7
Author: Chris Michael <[email protected]>
Date:   Thu Mar 7 13:35:16 2013 +0000

    There are no current plans to allow wayland clients to set E's desktop
    background, or panels, or lock the screen, etc, etc, etc, so add
    UNUSED to these functions for now.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/modules/wl_shell/e_mod_main.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/modules/wl_shell/e_mod_main.c 
b/src/modules/wl_shell/e_mod_main.c
index cc8b262..9762450 100644
--- a/src/modules/wl_shell/e_mod_main.c
+++ b/src/modules/wl_shell/e_mod_main.c
@@ -17,11 +17,11 @@ static void 
_e_wl_shell_shell_surface_fullscreen_set(E_Wayland_Shell_Surface *ew
 static int _e_wl_shell_shell_surface_move(E_Wayland_Shell_Surface *ewss, void 
*seat);
 static int _e_wl_shell_shell_surface_resize(E_Wayland_Shell_Surface *ewss, 
void *seat, unsigned int edges);
 
-static void _e_wl_shell_desktop_background_set(struct wl_client *client, 
struct wl_resource *resource, struct wl_resource *output_resource, struct 
wl_resource *surf_resource);
-static void _e_wl_shell_desktop_panel_set(struct wl_client *client, struct 
wl_resource *resource, struct wl_resource *output_resource, struct wl_resource 
*surf_resource);
-static void _e_wl_shell_desktop_lock_surface_set(struct wl_client *client, 
struct wl_resource *resource, struct wl_resource *surf_resource);
-static void _e_wl_shell_desktop_unlock(struct wl_client *client, struct 
wl_resource *resource);
-static void _e_wl_shell_desktop_grab_surface_set(struct wl_client *client, 
struct wl_resource *resource, struct wl_resource *surf_resource);
+static void _e_wl_shell_desktop_background_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource EINA_UNUSED, struct wl_resource 
*output_resource EINA_UNUSED, struct wl_resource *surf_resource EINA_UNUSED);
+static void _e_wl_shell_desktop_panel_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource EINA_UNUSED, struct wl_resource 
*output_resource EINA_UNUSED, struct wl_resource *surf_resource EINA_UNUSED);
+static void _e_wl_shell_desktop_lock_surface_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource EINA_UNUSED, struct wl_resource 
*surf_resource EINA_UNUSED);
+static void _e_wl_shell_desktop_unlock(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource EINA_UNUSED);
+static void _e_wl_shell_desktop_grab_surface_set(struct wl_client *client 
EINA_UNUSED, struct wl_resource *resource, struct wl_resource *surf_resource 
EINA_UNUSED);
 
 /* local variables */
 
@@ -199,31 +199,31 @@ _e_wl_shell_shell_surface_resize(E_Wayland_Shell_Surface 
*ewss, void *seat, unsi
 }
 
 static void 
-_e_wl_shell_desktop_background_set(struct wl_client *client, struct 
wl_resource *resource, struct wl_resource *output_resource, struct wl_resource 
*surf_resource)
+_e_wl_shell_desktop_background_set(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource, struct wl_resource *output_resource, struct 
wl_resource *surf_resource EINA_UNUSED)
 {
    SLOGFN(__FILE__, __LINE__, __FUNCTION__);
 }
 
 static void 
-_e_wl_shell_desktop_panel_set(struct wl_client *client, struct wl_resource 
*resource, struct wl_resource *output_resource, struct wl_resource 
*surf_resource)
+_e_wl_shell_desktop_panel_set(struct wl_client *client EINA_UNUSED, struct 
wl_resource *resource EINA_UNUSED, struct wl_resource *output_resource 
EINA_UNUSED, struct wl_resource *surf_resource EINA_UNUSED)
 {
    SLOGFN(__FILE__, __LINE__, __FUNCTION__);
 }
 
 static void 
-_e_wl_shell_desktop_lock_surface_set(struct wl_client *client, struct 
wl_resource *resource, struct wl_resource *surf_resource)
+_e_wl_shell_desktop_lock_surface_set(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource EINA_UNUSED, struct wl_resource *surf_resource 
EINA_UNUSED)
 {
    SLOGFN(__FILE__, __LINE__, __FUNCTION__);
 }
 
 static void 
-_e_wl_shell_desktop_unlock(struct wl_client *client, struct wl_resource 
*resource)
+_e_wl_shell_desktop_unlock(struct wl_client *client EINA_UNUSED, struct 
wl_resource *resource EINA_UNUSED)
 {
    SLOGFN(__FILE__, __LINE__, __FUNCTION__);
 }
 
 static void 
-_e_wl_shell_desktop_grab_surface_set(struct wl_client *client, struct 
wl_resource *resource, struct wl_resource *surf_resource)
+_e_wl_shell_desktop_grab_surface_set(struct wl_client *client EINA_UNUSED, 
struct wl_resource *resource EINA_UNUSED, struct wl_resource *surf_resource 
EINA_UNUSED)
 {
    SLOGFN(__FILE__, __LINE__, __FUNCTION__);
 }

-- 

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev

Reply via email to