diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-24 14:36:55 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-12 19:34:28 +0200 |
commit | 3fb44ae6512f6922ec2ea7cc0aaa017be1922f64 (patch) | |
tree | 4e3bb446313a0c27d2c531c72ba717f9af43d569 /gtk/gtkcssshorthandpropertyimpl.c | |
parent | 76fb80f46cfed1dd3cc0040f527c0ab3ee499118 (diff) | |
download | gtk+-3fb44ae6512f6922ec2ea7cc0aaa017be1922f64.tar.gz |
cssparser: Add gtk_css_parser_try_token()
Diffstat (limited to 'gtk/gtkcssshorthandpropertyimpl.c')
-rw-r--r-- | gtk/gtkcssshorthandpropertyimpl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkcssshorthandpropertyimpl.c b/gtk/gtkcssshorthandpropertyimpl.c index 6f8028cc48..e0712380b9 100644 --- a/gtk/gtkcssshorthandpropertyimpl.c +++ b/gtk/gtkcssshorthandpropertyimpl.c @@ -595,7 +595,7 @@ parse_background (GtkCssShorthandProperty *shorthand, g_ptr_array_add (arrays[i], step_values[i]); step_values[i] = NULL; } - } while (_gtk_css_parser_try (parser, ",", TRUE)); + } while (gtk_css_parser_try_token (parser, GTK_CSS_TOKEN_COMMA)); for (i = 0; i < 6; i++) { @@ -699,7 +699,7 @@ parse_transition (GtkCssShorthandProperty *shorthand, g_ptr_array_add (arrays[i], step_values[i]); step_values[i] = NULL; } - } while (_gtk_css_parser_try (parser, ",", TRUE)); + } while (gtk_css_parser_try_token (parser, GTK_CSS_TOKEN_COMMA)); for (i = 0; i < 4; i++) { @@ -816,7 +816,7 @@ parse_animation (GtkCssShorthandProperty *shorthand, g_ptr_array_add (arrays[i], step_values[i]); step_values[i] = NULL; } - } while (_gtk_css_parser_try (parser, ",", TRUE)); + } while (gtk_css_parser_try_token (parser, GTK_CSS_TOKEN_COMMA)); for (i = 0; i < 7; i++) { |