eog r4905 - in branches/gnome-2-24: . src



Author: csaavedra
Date: Sat Dec 13 11:57:13 2008
New Revision: 4905
URL: http://svn.gnome.org/viewvc/eog?rev=4905&view=rev

Log:
2008-12-13  Claudio Saavedra  <csaavedra igalia com>

	* src/eog-image.c: (eog_image_real_load): Clean the input stream
	GError before setting it. Fixes bug #564290 (Tom Parker).



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/eog-image.c

Modified: branches/gnome-2-24/src/eog-image.c
==============================================================================
--- branches/gnome-2-24/src/eog-image.c	(original)
+++ branches/gnome-2-24/src/eog-image.c	Sat Dec 13 11:57:13 2008
@@ -859,6 +859,7 @@
 		g_free (mime_type);
 
 		if (error != NULL) {
+			g_clear_error (error);
 			g_set_error (error, 
 				     EOG_IMAGE_ERROR, 
 				     EOG_IMAGE_ERROR_VFS,



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