raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=589fbd80cd0a86b34a83729ebf8636976aaa3bc2

commit 589fbd80cd0a86b34a83729ebf8636976aaa3bc2
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Thu Jul 9 15:45:15 2015 +0900

    ecore-x fix warning on unused function due to ifdefs
---
 src/lib/ecore_x/xlib/ecore_x_xi2.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/lib/ecore_x/xlib/ecore_x_xi2.c 
b/src/lib/ecore_x/xlib/ecore_x_xi2.c
index 566570a..b6e4519 100644
--- a/src/lib/ecore_x/xlib/ecore_x_xi2.c
+++ b/src/lib/ecore_x/xlib/ecore_x_xi2.c
@@ -150,6 +150,8 @@ _ecore_x_input_shutdown(void)
 
 #ifdef ECORE_XI2
 #ifdef ECORE_XI2_2
+
+# ifdef XI_TouchCancel
 static Eina_Bool
 _ecore_x_input_touch_device_check(int devid)
 {
@@ -163,6 +165,7 @@ _ecore_x_input_touch_device_check(int devid)
      if (info->devid == devid) return EINA_TRUE;
    return EINA_FALSE;
 }
+#endif
 
 static int
 _ecore_x_input_touch_index_get(int devid, int detail, int event_type)

-- 


Reply via email to