[gdk-pixbuf] gdip: Prevent an error pileup



commit b279c4b2f5d75ddf6b9aeed387107303b399ed94
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Nov 9 23:14:06 2012 -0500

    gdip: Prevent an error pileup
    
    This was pointed out in bug 686139.

 gdk-pixbuf/io-gdip-utils.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gdk-pixbuf/io-gdip-utils.c b/gdk-pixbuf/io-gdip-utils.c
index 01befd8..a8dcf53 100644
--- a/gdk-pixbuf/io-gdip-utils.c
+++ b/gdk-pixbuf/io-gdip-utils.c
@@ -749,7 +749,6 @@ gdk_pixbuf__gdip_image_stop_load (gpointer data, GError **error)
 
   if (!bitmap) {
     destroy_gdipcontext (context);
-    g_set_error_literal (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE, _("Couldn't load bitmap"));
     return FALSE;
   }
 



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