forked from AuroraMiddleware/gtk
Add a deprecation error for the engine css property
This helps people fix up their css.
This commit is contained in:
parent
df55412ba2
commit
d2d521d4b5
@ -2485,6 +2485,16 @@ parse_declaration (GtkCssScanner *scanner,
|
||||
return;
|
||||
}
|
||||
|
||||
if (strcmp (name, "engine") == 0)
|
||||
{
|
||||
gtk_css_provider_error (scanner->provider,
|
||||
scanner,
|
||||
GTK_CSS_PROVIDER_ERROR,
|
||||
GTK_CSS_PROVIDER_ERROR_DEPRECATED,
|
||||
"The '%s' property is ignored",
|
||||
name);
|
||||
}
|
||||
|
||||
if (!_gtk_css_parser_try (scanner->parser, ":", TRUE))
|
||||
{
|
||||
gtk_css_provider_invalid_token (scanner->provider, scanner, "':'");
|
||||
|
Loading…
Reference in New Issue
Block a user