forked from AuroraMiddleware/gtk
cssprovider: Be clearer about warnings vs errors
The CSS parser tried to warn about unexpected syntax that the spec doesn't define as an error.
This commit is contained in:
parent
e9cf8c6cc7
commit
e931afdc9b
@ -180,7 +180,8 @@ gtk_css_provider_parsing_error (GtkCssProvider *provider,
|
||||
{
|
||||
char *s = gtk_css_section_to_string (section);
|
||||
|
||||
g_warning ("Theme parsing error: %s: %s",
|
||||
g_warning ("Theme parser %s: %s: %s",
|
||||
error->domain == GTK_CSS_PARSER_WARNING ? "warning" : "error",
|
||||
s,
|
||||
error->message);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user