Index: libeog/eog-image.c
===================================================================
RCS file: /cvs/gnome/eog/libeog/eog-image.c,v
retrieving revision 1.57
diff -u -r1.57 eog-image.c
--- libeog/eog-image.c	23 Aug 2005 20:14:57 -0000	1.57
+++ libeog/eog-image.c	30 Sep 2005 02:42:26 -0000
@@ -803,6 +803,11 @@
 	
 	failed = (failed || bytes_read_total == 0 || priv->cancel_loading);
 
+	if (*error != NULL) {
+		failed = TRUE;
+		priv->status = EOG_IMAGE_STATUS_FAILED;
+	}
+
 	if (priv->cancel_loading) {
 		priv->cancel_loading = FALSE;
 		failed = TRUE;
