diff options
author | Benjamin Otte <otte@redhat.com> | 2016-02-12 06:45:06 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-02-13 04:49:08 +0100 |
commit | a52ecd2be61ee46b41267614484ed0401ac5cbc1 (patch) | |
tree | 09634a668945b829ac8c8a440102991191d7f4c0 /gtk/gtkcssimagecrossfade.c | |
parent | b246d55472cdf7f8589a8cd8627e9dc4aead2fdd (diff) | |
download | gtk+-a52ecd2be61ee46b41267614484ed0401ac5cbc1.tar.gz |
css: Add gtk_css_number_value_can_parse()
Use it instead of _gtk_css_parser_has_number().
We need that once we introduce calc() support.
Diffstat (limited to 'gtk/gtkcssimagecrossfade.c')
-rw-r--r-- | gtk/gtkcssimagecrossfade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssimagecrossfade.c b/gtk/gtkcssimagecrossfade.c index 1b02af94f7..6677e400f9 100644 --- a/gtk/gtkcssimagecrossfade.c +++ b/gtk/gtkcssimagecrossfade.c @@ -163,7 +163,7 @@ gtk_css_image_cross_fade_parse (GtkCssImage *image, return FALSE; } - if (_gtk_css_parser_has_number (parser)) + if (gtk_css_number_value_can_parse (parser)) { GtkCssValue *number; |