tests: Remove calls to clutter_x11_enable_xinput()

The function is deprecated and useless: support for XInput is always
enabled, if the extension is available.
This commit is contained in:
Emmanuele Bassi 2015-04-23 20:18:25 +01:00
parent fc93887728
commit f8687f9430
4 changed files with 0 additions and 17 deletions

View File

@ -213,11 +213,6 @@ test_devices_main (int argc, char **argv)
ClutterDeviceManager *manager; ClutterDeviceManager *manager;
const GSList *stage_devices, *l; const GSList *stage_devices, *l;
#ifdef CLUTTER_WINDOWING_X11
/* force enabling X11 support */
clutter_x11_enable_xinput ();
#endif
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1; return 1;

View File

@ -390,10 +390,6 @@ test_events_main (int argc, char *argv[])
{ {
ClutterActor *stage, *actor, *focus_box, *group; ClutterActor *stage, *actor, *focus_box, *group;
#ifdef CLUTTER_WINDOWING_X11
clutter_x11_enable_xinput ();
#endif
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return 1; return 1;

View File

@ -59,10 +59,6 @@ test_rotate_zoom_main (int argc, char *argv[])
ClutterActor *stage, *actor; ClutterActor *stage, *actor;
gfloat width, height; gfloat width, height;
#ifdef CLUTTER_WINDOWING_X11
clutter_x11_enable_xinput ();
#endif
/* initialize Clutter */ /* initialize Clutter */
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return EXIT_FAILURE; return EXIT_FAILURE;

View File

@ -132,10 +132,6 @@ test_touch_events_main (int argc, char *argv[])
ClutterActor *stage, *canvas; ClutterActor *stage, *canvas;
int i; int i;
#ifdef CLUTTER_WINDOWING_X11
clutter_x11_enable_xinput ();
#endif
/* initialize Clutter */ /* initialize Clutter */
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS) if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
return EXIT_FAILURE; return EXIT_FAILURE;