tests: Make CSS parser pass NULL as error.

We are trapping errors via signals now.
This commit is contained in:
Benjamin Otte 2011-04-08 16:12:35 +02:00
parent 2d0162c97b
commit f1307ef428

View File

@ -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);