Remove calls to the deprecated g_type_init()