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



Author: friemann
Date: Sat Jan 10 21:51:23 2009
New Revision: 4941
URL: http://svn.gnome.org/viewvc/eog?rev=4941&view=rev

Log:
2009-01-10  Felix Riemann  <friemann svn gnome org>

	* src/eog-image.c: (eog_image_copy_file): Fix unintialized GError.


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 Jan 10 21:51:23 2009
@@ -1519,7 +1519,7 @@
 eog_image_copy_file (EogImage *image, EogImageSaveInfo *source, EogImageSaveInfo *target, GError **error)
 {
 	gboolean result;
-	GError *ioerror;
+	GError *ioerror = NULL;
 
 	g_return_val_if_fail (EOG_IS_IMAGE_SAVE_INFO (source), FALSE);
 	g_return_val_if_fail (EOG_IS_IMAGE_SAVE_INFO (target), FALSE);



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