ecore-x fix warning on unused function due to ifdefs

This commit is contained in:
Carsten Haitzler 2015-07-09 15:45:15 +09:00
parent eeec176166
commit 589fbd80cd
1 changed files with 3 additions and 0 deletions

View File

@ -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)