summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-icns.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-06-19 12:47:48 +0000
committerChristian Persch <chpe@src.gnome.org>2008-06-19 12:47:48 +0000
commit446f41757b425441976e5a2b32c233f64036e6ff (patch)
treee5c7f9043eee1d0378dee141d90ceab4db21db0f /gdk-pixbuf/io-icns.c
parent1a30e12586de407b88b003b2f2599a599a9527f5 (diff)
downloadgdk-pixbuf-446f41757b425441976e5a2b32c233f64036e6ff.tar.gz
Use g_set_error_literal where appropriate. Bug #538640.
svn path=/trunk/; revision=20463
Diffstat (limited to 'gdk-pixbuf/io-icns.c')
-rw-r--r--gdk-pixbuf/io-icns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/io-icns.c b/gdk-pixbuf/io-icns.c
index df6703fb4..295e438f6 100644
--- a/gdk-pixbuf/io-icns.c
+++ b/gdk-pixbuf/io-icns.c
@@ -357,9 +357,9 @@ icns_image_load (FILE *f, GError ** error)
g_byte_array_free (data, TRUE);
if (!pixbuf)
- g_set_error (error, GDK_PIXBUF_ERROR,
- GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- _("Could not decode ICNS file"));
+ g_set_error_literal (error, GDK_PIXBUF_ERROR,
+ GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
+ _("Could not decode ICNS file"));
return pixbuf;
}