[gtk+/gtk-3-22] icon-theme: Show filename attempted when icon fails to load
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-22] icon-theme: Show filename attempted when icon fails to load
- Date: Wed, 11 Oct 2017 20:06:14 +0000 (UTC)
commit 112a61a78281243cb4d63f01c9527aee80711d47
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Jun 8 12:08:22 2017 +1200
icon-theme: Show filename attempted when icon fails to load
gtk/gtkicontheme.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 5a416b7..c865fc6 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -2343,6 +2343,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]