g_type_init has been deprecated since version 2.36.

The type system is now initialised automatically