diff options
author | Matthias Clasen <mclasen@redhat.com> | 2007-05-25 15:31:28 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-05-25 15:31:28 +0000 |
commit | 11e2767fbdcac7a3ec97467a437ac3f4c989fa32 (patch) | |
tree | 6d9261ed8c420127113600cabcec98f9eb17991d /gtk/gtkiconfactory.c | |
parent | f42be737103788ae0447f04a67c92b15e132e405 (diff) | |
download | gtk+-11e2767fbdcac7a3ec97467a437ac3f4c989fa32.tar.gz |
Improve a warning Always set the error when returning NULL. (#440982,
2007-05-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconfactory.c: Improve a warning
* gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
set the error when returning NULL. (#440982, Carlos Garcia
Campos)
svn path=/trunk/; revision=17912
Diffstat (limited to 'gtk/gtkiconfactory.c')
-rw-r--r-- | gtk/gtkiconfactory.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkiconfactory.c b/gtk/gtkiconfactory.c index f80a5d58b4..d581d605b2 100644 --- a/gtk/gtkiconfactory.c +++ b/gtk/gtkiconfactory.c @@ -1467,7 +1467,8 @@ render_icon_name_pixbuf (GtkIconSource *icon_source, if (!tmp_pixbuf) { - g_warning ("Error loading theme icon for stock: %s", error->message); + g_warning ("Error loading theme icon '%s' for stock: %s", + icon_source->source.icon_name, error->message); g_error_free (error); return NULL; } |