mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
icon-theme: Show filename attempted when icon fails to load
This commit is contained in:
parent
82a4e830a3
commit
7b8ea9af55
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user