summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstringvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-03-31 12:40:53 +0200
committerBenjamin Otte <otte@redhat.com>2019-04-12 19:34:28 +0200
commitdbdb81f411b3e33b10d536ae9a418ed11055af54 (patch)
tree8e849babd643536a0c92f91743cefbfa205847f5 /gtk/gtkcssstringvalue.c
parent28fbcf6abede0b30a57cc154623b0219793e7c7c (diff)
downloadgtk+-dbdb81f411b3e33b10d536ae9a418ed11055af54.tar.gz
cssparser: Add gtk_css_parser_consume_ident()
And use it to fix the palette parser.
Diffstat (limited to 'gtk/gtkcssstringvalue.c')
-rw-r--r--gtk/gtkcssstringvalue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstringvalue.c b/gtk/gtkcssstringvalue.c
index 49b7d19d4d..f6d0c2bf15 100644
--- a/gtk/gtkcssstringvalue.c
+++ b/gtk/gtkcssstringvalue.c
@@ -200,7 +200,7 @@ _gtk_css_ident_value_try_parse (GtkCssParser *parser)
g_return_val_if_fail (parser != NULL, NULL);
- ident = _gtk_css_parser_try_ident (parser, TRUE);
+ ident = gtk_css_parser_consume_ident (parser);
if (ident == NULL)
return NULL;