diff options
-rw-r--r-- | tests/conform/events-touch.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/conform/events-touch.c b/tests/conform/events-touch.c index 52ee4d7bf..ab1f40d9d 100644 --- a/tests/conform/events-touch.c +++ b/tests/conform/events-touch.c @@ -43,7 +43,12 @@ #define TOUCH_POINTS 10 -static ClutterPoint gesture_points[] = { +typedef struct Point { + float x; + float y; +} Point; + +static Point gesture_points[] = { { 100., 100. }, { 110., 100. }, { 120., 100. }, @@ -61,7 +66,7 @@ typedef struct _State State; struct _State { gboolean pass; - ClutterPoint gesture_points_to_check[TOUCH_POINTS]; + Point gesture_points_to_check[TOUCH_POINTS]; int gesture_points; }; |