Do not call g_type_init(), is deprecated
Set gnu_printf format for print_warning_or_error