From f1307ef4282acd1e0f7c11af3817a03132871faa Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 8 Apr 2011 16:12:35 +0200 Subject: [PATCH] tests: Make CSS parser pass NULL as error. We are trapping errors via signals now. --- tests/css/parser/test-css-parser.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/css/parser/test-css-parser.c b/tests/css/parser/test-css-parser.c index b947bdf9ca..77c9aa4b20 100644 --- a/tests/css/parser/test-css-parser.c +++ b/tests/css/parser/test-css-parser.c @@ -159,13 +159,10 @@ test_css_file (GFile *file) errors); gtk_css_provider_load_from_path (provider, css_file, - &error); - g_assert_no_error (error); + NULL); css = gtk_css_provider_to_string (provider); - g_assert_no_error (error); - reference_file = test_get_reference_file (css_file); diff = diff_with_file (reference_file, css, -1, &error);