These show up in tooltips, so they should a) be capitalized
and b) not end with a period.
if (i >= G_N_ELEMENTS (units))
{
- gtk_css_parser_error_syntax (parser, "'%s' is not a valid unit.", token->dimension.dimension);
+ gtk_css_parser_error_syntax (parser, "'%s' is not a valid unit", token->dimension.dimension);
return NULL;
}
if (flags & GTK_CSS_POSITIVE_ONLY &&
number < 0)
{
- gtk_css_parser_error_value (parser, "negative values are not allowed.");
+ gtk_css_parser_error_value (parser, "Negative values are not allowed");
return NULL;
}