forked from AuroraMiddleware/gtk
cssimageurl: Explicitly check for local_error != NULL
This should always be the case since gdk_texture_new_from_file should always set the error when it returns NULL, but make it explicit anyway.
This commit is contained in:
parent
ae08aa3622
commit
24415a6ffb
@ -59,7 +59,7 @@ gtk_css_image_url_load_image (GtkCssImageUrl *url,
|
||||
|
||||
if (texture == NULL)
|
||||
{
|
||||
if (error)
|
||||
if (error && local_error)
|
||||
{
|
||||
char *uri;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user