diff options
author | Benjamin Otte <otte@redhat.com> | 2018-02-17 20:31:14 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-16 06:04:44 +0100 |
commit | 4beeb6173b44f4f4d662f79daacffee6569f3136 (patch) | |
tree | 1b9055ed2570c62821cb774495c38bb6a59e77fc /gtk/meson.build | |
parent | 5970dac1679d9b7ea3aa6feae1d7520dd235c166 (diff) | |
download | gtk+-4beeb6173b44f4f4d662f79daacffee6569f3136.tar.gz |
cssimage: Add gtk_css_image_is_invalid()
Use that instead of hacks to guess when an image is considered invalid
according to https://drafts.csswg.org/css-images-4/#invalid-image
Also add a GtkCssImageInvalid that implements the behavior of invalid
images according to the CSS spec so thjat image implementations can
refer to that image.
Diffstat (limited to 'gtk/meson.build')
-rw-r--r-- | gtk/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/meson.build b/gtk/meson.build index e201585a8b..112d110910 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -46,6 +46,7 @@ gtk_private_sources = files([ 'gtkcssimagecrossfade.c', 'gtkcssimagefallback.c', 'gtkcssimageicontheme.c', + 'gtkcssimageinvalid.c', 'gtkcssimagelinear.c', 'gtkcssimageradial.c', 'gtkcssimagerecolor.c', |