mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
tests: Make CSS parser pass NULL as error.
We are trapping errors via signals now.
This commit is contained in:
parent
2d0162c97b
commit
f1307ef428
@ -159,13 +159,10 @@ test_css_file (GFile *file)
|
|||||||
errors);
|
errors);
|
||||||
gtk_css_provider_load_from_path (provider,
|
gtk_css_provider_load_from_path (provider,
|
||||||
css_file,
|
css_file,
|
||||||
&error);
|
NULL);
|
||||||
g_assert_no_error (error);
|
|
||||||
|
|
||||||
css = gtk_css_provider_to_string (provider);
|
css = gtk_css_provider_to_string (provider);
|
||||||
|
|
||||||
g_assert_no_error (error);
|
|
||||||
|
|
||||||
reference_file = test_get_reference_file (css_file);
|
reference_file = test_get_reference_file (css_file);
|
||||||
|
|
||||||
diff = diff_with_file (reference_file, css, -1, &error);
|
diff = diff_with_file (reference_file, css, -1, &error);
|
||||||
|
Loading…
Reference in New Issue
Block a user