mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 05:50:11 +00:00
Improve warning
Mention the file that we're failing to load. That makes it obvious what is wrong.
This commit is contained in:
parent
cacda8086e
commit
bb41cfe9d9
@ -761,7 +761,7 @@ background_loaded_cb (GObject *source,
|
||||
pixbuf = gdk_pixbuf_new_from_stream_finish (res, &error);
|
||||
if (error)
|
||||
{
|
||||
g_warning ("%s", error->message);
|
||||
g_warning ("Error loading '%s': %s", bd->filename, error->message);
|
||||
g_error_free (error);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user