[gtk/wip/otte/css: 3/26] testsuite: Handle warnings in CSS tests
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/css: 3/26] testsuite: Handle warnings in CSS tests
- Date: Thu, 11 Apr 2019 20:20:55 +0000 (UTC)
commit 33cb493f8ae2576a0b30f9a4d47c4d8d691a025d
Author: Benjamin Otte <otte redhat com>
Date: Tue Apr 9 06:37:32 2019 +0200
testsuite: Handle warnings in CSS tests
testsuite/css/parser/test-css-parser.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/testsuite/css/parser/test-css-parser.c b/testsuite/css/parser/test-css-parser.c
index 311243d369..4fa1281014 100644
--- a/testsuite/css/parser/test-css-parser.c
+++ b/testsuite/css/parser/test-css-parser.c
@@ -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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]