Files
gtk/testsuite/css/parser/resource-url.css
Benjamin Otte 41696b0c57 css: Remove crashy resource:// optimization
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.
2023-06-05 07:52:05 -04:00

4 lines
115 B
CSS

window { background-image: url("resource://"); }
button { background-image: url("resource://doesnotexist.jpg"); }