diff options
author | Benjamin Otte <otte@redhat.com> | 2019-04-01 11:47:53 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-04-12 19:34:28 +0200 |
commit | dce8c11b07ba9a51102af4dbbc84450e60822fb0 (patch) | |
tree | e25e361413564e9dd1f1bae2eb66968b5ca8a2e8 /gtk/gtkcssparserprivate.h | |
parent | 7ccec19501fef664aa7b9bc333230a9f3bc9aeb5 (diff) | |
download | gtk+-dce8c11b07ba9a51102af4dbbc84450e60822fb0.tar.gz |
cssparser: Drop _gtk_css_parser_has_prefix()
Replace it with has_ident/has_function. The old function is a typical
string matching API, not a tokenizing one.
Diffstat (limited to 'gtk/gtkcssparserprivate.h')
-rw-r--r-- | gtk/gtkcssparserprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcssparserprivate.h b/gtk/gtkcssparserprivate.h index 001d2060e5..1611dea07c 100644 --- a/gtk/gtkcssparserprivate.h +++ b/gtk/gtkcssparserprivate.h @@ -62,10 +62,10 @@ GFile * _gtk_css_parser_get_file (GtkCssParser *parser GFile * _gtk_css_parser_get_file_for_path (GtkCssParser *parser, const char *path); -gboolean _gtk_css_parser_has_prefix (GtkCssParser *parser, - const char *prefix); gboolean gtk_css_parser_has_token (GtkCssParser *parser, GtkCssTokenType token_type); +gboolean gtk_css_parser_has_ident (GtkCssParser *parser, + const char *name); gboolean gtk_css_parser_has_function (GtkCssParser *parser, const char *name); |