icon-theme: Show filename attempted when icon fails to load

This commit is contained in:
Robert Ancell 2017-06-08 12:08:22 +12:00
parent 82a4e830a3
commit 7b8ea9af55

View File

@ -2306,6 +2306,7 @@ gtk_icon_theme_load_icon_for_scale (GtkIconTheme *icon_theme,
}
pixbuf = gtk_icon_info_load_icon (icon_info, error);
g_prefix_error (error, "Failed to load %s: ", icon_info->filename);
g_object_unref (icon_info);
return pixbuf;