return url->loaded_image;
}
- /* We special case resources here so we can use gdk_texture_new_from_resource. */
- if (g_file_has_uri_scheme (url->file, "resource"))
- {
- char *uri = g_file_get_uri (url->file);
- char *resource_path = g_uri_unescape_string (uri + strlen ("resource://"), NULL);
-
- texture = gdk_texture_new_from_resource (resource_path);
-
- g_free (resource_path);
- g_free (uri);
- }
- else
- {
- texture = gdk_texture_new_from_file (url->file, &local_error);
- }
+ texture = gdk_texture_new_from_file (url->file, &local_error);
if (texture == NULL)
{
'radial-positions.errors',
'radial-positions.ref.css',
'radial.ref.css',
+ 'resource-url.css',
+ 'resource-url.ref.css',
'rotate3d-crash.css',
'rotate3d-crash.errors',
'rotate3d-crash.ref.css',