forked from enlightenment/efl
ecore-x fix warning on unused function due to ifdefs
This commit is contained in:
parent
eeec176166
commit
589fbd80cd
|
@ -150,6 +150,8 @@ _ecore_x_input_shutdown(void)
|
||||||
|
|
||||||
#ifdef ECORE_XI2
|
#ifdef ECORE_XI2
|
||||||
#ifdef ECORE_XI2_2
|
#ifdef ECORE_XI2_2
|
||||||
|
|
||||||
|
# ifdef XI_TouchCancel
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_ecore_x_input_touch_device_check(int devid)
|
_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;
|
if (info->devid == devid) return EINA_TRUE;
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static int
|
static int
|
||||||
_ecore_x_input_touch_index_get(int devid, int detail, int event_type)
|
_ecore_x_input_touch_index_get(int devid, int detail, int event_type)
|
||||||
|
|
Loading…
Reference in New Issue