stefan pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=90daba764539916a3be666ab1b905e5e54a9e7da

commit 90daba764539916a3be666ab1b905e5e54a9e7da
Author: Stefan Schmidt <[email protected]>
Date:   Fri Sep 19 09:56:10 2014 +0200

    e_client: _e_client_cb_drag_finished is not used in wayland only mode
    
    Mostly cosmetic as it avoid a warning of an unused function when compiling
    for wayland only.
---
 src/bin/e_client.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index c2e0ed9..c19a123 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -177,6 +177,7 @@ _e_client_cb_desk_window_profile_change(void *data 
EINA_UNUSED, int type EINA_UN
    return ECORE_CALLBACK_RENEW;
 }
 
+#ifndef HAVE_WAYLAND_ONLY
 static void
 _e_client_cb_drag_finished(E_Drag *drag, int dropped EINA_UNUSED)
 {
@@ -186,6 +187,7 @@ _e_client_cb_drag_finished(E_Drag *drag, int dropped 
EINA_UNUSED)
    e_object_unref(E_OBJECT(ec));
    client_drag = NULL;
 }
+#endif
 
 static void
 _e_client_desk_window_profile_wait_desk_delfn(void *data, void *obj)

-- 


Reply via email to