diff options
author | Benjamin Otte <otte@redhat.com> | 2019-04-09 05:40:50 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-12 19:34:28 +0200 |
commit | 1cd93961548efd7386fbd403f8b374ec41d08ffd (patch) | |
tree | f54f70c5006441cddcbbe42981170989d7b5a916 /gtk/gtkcssbordervalue.c | |
parent | de73ac980f2c4a7ce981910d4ebd68591bde7329 (diff) | |
download | gtk+-1cd93961548efd7386fbd403f8b374ec41d08ffd.tar.gz |
css: Review error messages
... and move them from _gtk_css_parser_error() to the proper new error
message.
Diffstat (limited to 'gtk/gtkcssbordervalue.c')
-rw-r--r-- | gtk/gtkcssbordervalue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssbordervalue.c b/gtk/gtkcssbordervalue.c index 1bc8aaeefc..3c45ad8146 100644 --- a/gtk/gtkcssbordervalue.c +++ b/gtk/gtkcssbordervalue.c @@ -198,7 +198,7 @@ _gtk_css_border_value_parse (GtkCssParser *parser, if (i == 0) { - _gtk_css_parser_error (parser, "Expected a number"); + gtk_css_parser_error_syntax (parser, "Expected a number"); _gtk_css_value_unref (result); return NULL; } |