CssSelector: Fix warning for bad pseudo-class name
It was "Missing name of pseudo-class", but the real problem is exactly the opposite: we /have/ been given a name, but it is not a valid one. Change it to "Invalid name of pseudo-class" to minimise confusion.
This commit is contained in:
parent
a6ba8df4b7
commit
11f81e77f9
@ -1189,7 +1189,7 @@ parse_selector_pseudo_class (GtkCssParser *parser,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_gtk_css_parser_error (parser, "Missing name of pseudo-class");
|
_gtk_css_parser_error (parser, "Invalid name of pseudo-class");
|
||||||
if (selector)
|
if (selector)
|
||||||
_gtk_css_selector_free (selector);
|
_gtk_css_selector_free (selector);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user