mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
ee6ef41e71
Using gdk_texture_new_from_resource() is not valid here because we are not sure if the given resource is valid. Plus, the previous optimization is no longer relevant, because we are not using gdk_pixbuf_new_from_resource() anymore - which was what this optimization was about before it was ported to GdkTexture. Test attached.
8 lines
115 B
CSS
8 lines
115 B
CSS
window {
|
|
background-image: none /* invalid image */;
|
|
}
|
|
|
|
button {
|
|
background-image: none /* invalid image */;
|
|
}
|