mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
[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.
This commit is contained in:
parent
a6b4697367
commit
0ec541282a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user