Commit d2d521d4 authored by Matthias Clasen's avatar Matthias Clasen

Add a deprecation error for the engine css property

This helps people fix up their css.
parent df55412b
......@@ -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, "':'");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment