mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +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.
4 lines
115 B
CSS
4 lines
115 B
CSS
window { background-image: url("resource://"); }
|
|
|
|
button { background-image: url("resource://doesnotexist.jpg"); }
|