testsuite: Handle warnings in CSS tests

This commit is contained in:
Benjamin Otte 2019-04-09 06:37:32 +02:00
parent a31e5f7a8c
commit c8589a9a2f

View File

@ -151,7 +151,9 @@ parsing_error_cb (GtkCssProvider *provider,
g_free (basename);
if (error->domain == GTK_CSS_PARSER_ERROR)
append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
append_error_value (errors, GTK_TYPE_CSS_PARSER_ERROR, error->code);
else if (error->domain == GTK_CSS_PARSER_WARNING)
append_error_value (errors, GTK_TYPE_CSS_PARSER_WARNING, error->code);
else
g_string_append_printf (errors,
"%s %u\n",