remove g_type_init because g_type_init has been deprecated since version 2.36