From 0ec541282acf7b9ea08217b154524013c93b7d95 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 19 Jun 2009 14:20:50 +0100 Subject: [PATCH] [tests] Remove unneeded g_type_init() Now that we can safely check for an uninitialized Clutter we don't have side effects in calling one of the functions like clutter_x11_enable_xinput(), which require to be called before any other Clutter function. --- tests/interactive/test-devices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/interactive/test-devices.c b/tests/interactive/test-devices.c index f4a114148..0e81b973d 100644 --- a/tests/interactive/test-devices.c +++ b/tests/interactive/test-devices.c @@ -45,9 +45,9 @@ test_devices_main (int argc, char **argv) ClutterColor stage_color = { 0x61, 0x64, 0x8c, 0xff }; const GSList *stage_devices, *l; - g_type_init(); - + /* force enabling X11 support */ clutter_x11_enable_xinput (); + clutter_init (&argc, &argv); app = g_new0 (TestDevicesApp, 1);