Improve warning

Mention the file that we're failing to load. That makes it obvious
what is wrong.
This commit is contained in:
Matthias Clasen 2014-10-30 13:41:13 -04:00
parent cacda8086e
commit bb41cfe9d9

View File

@ -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;
}