Use g_error() instead of g_warning() in parser type verification