summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimagefallback.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcssimagefallback.c')
-rw-r--r--gtk/gtkcssimagefallback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssimagefallback.c b/gtk/gtkcssimagefallback.c
index c33912e00f..6536a8dd0a 100644
--- a/gtk/gtkcssimagefallback.c
+++ b/gtk/gtkcssimagefallback.c
@@ -190,7 +190,7 @@ gtk_css_image_fallback_parse_arg (GtkCssParser *parser,
if (data->color != NULL)
{
- _gtk_css_parser_error (parser, "The color must be the last parameter");
+ gtk_css_parser_error_syntax (parser, "The color must be the last parameter");
return 0;
}
else if (_gtk_css_image_can_parse (parser))
@@ -221,7 +221,7 @@ gtk_css_image_fallback_parse (GtkCssImage *image,
if (!gtk_css_parser_has_function (parser, "image"))
{
- _gtk_css_parser_error (parser, "Expected 'image('");
+ gtk_css_parser_error_syntax (parser, "Expected 'image('");
return FALSE;
}