[gdk-pixbuf] Bug 667017-io-qtif.c: GDK_PIXBUF_ERROR_CORRUPT_IMAGE used twice



commit 1138d7f9ac7be829fa295f5b74a3faf11ed2e30f
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed Feb 8 14:50:26 2012 +0800

    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.

 gdk-pixbuf/io-qtif.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-qtif.c b/gdk-pixbuf/io-qtif.c
index d418cfc..ee4ffd0 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),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]