diff options
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r-- | gtk/gtkcssshorthandpropertyimpl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c index 3b32c7f282..0f14bf9524 100644 --- a/gtk/gtkcssshorthandpropertyimpl.c +++ b/gtk/gtkcssshorthandpropertyimpl.c @@ -261,7 +261,7 @@ parse_border_image (GtkCssShorthandProperty *shorthand, do { if (values[0] == NULL && - (_gtk_css_parser_has_prefix (parser, "none") || + (gtk_css_parser_has_ident (parser, "none") || _gtk_css_image_can_parse (parser))) { GtkCssImage *image; @@ -507,7 +507,7 @@ parse_one_background (GtkCssShorthandProperty *shorthand, { /* the image part */ if (values[0] == NULL && - (_gtk_css_parser_has_prefix (parser, "none") || + (gtk_css_parser_has_ident (parser, "none") || _gtk_css_image_can_parse (parser))) { GtkCssImage *image; |