summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2012-02-08 14:50:26 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2012-02-16 00:12:53 +0800
commit1138d7f9ac7be829fa295f5b74a3faf11ed2e30f (patch)
treea37d2e61eca58321b0b94e1ddae18c2a6e774b9b
parent294eabc1268aaa0d02be80567bb8ca3fb1cdbe52 (diff)
downloadgdk-pixbuf-1138d7f9ac7be829fa295f5b74a3faf11ed2e30f.tar.gz
Bug 667017-io-qtif.c: GDK_PIXBUF_ERROR_CORRUPT_IMAGE used twice
The constant GDK_PIXBUF_ERROR_CORRUPT_IMAGE was used twice in the call to g_set_error in io-qtif.c by accident in commit f0b58cb, so correct this by removing the second instance of it.
-rw-r--r--gdk-pixbuf/io-qtif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-qtif.c b/gdk-pixbuf/io-qtif.c
index d418cfcda..ee4ffd0ed 100644
--- a/gdk-pixbuf/io-qtif.c
+++ b/gdk-pixbuf/io-qtif.c
@@ -456,7 +456,6 @@ static gboolean gdk_pixbuf__qtif_image_load_increment (gpointer data,
{
g_set_error(error, GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
- GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
ngettext ( "QTIF atom size too large (%d byte)",
"QTIF atom size too large (%d bytes)",
hdr->length),