gimp r27709 - in trunk: . plug-ins/file-uri



Author: neo
Date: Sat Nov 22 16:55:32 2008
New Revision: 27709
URL: http://svn.gnome.org/viewvc/gimp?rev=27709&view=rev

Log:
2008-11-22  Sven Neumann  <sven gimp org>

	Bug 561899 â GIMP can't save to mounted filesystem if file 
exists

	* plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): pass the
	G_FILE_COPY_OVERWRITE flag to g_file_copy().



Modified:
   trunk/ChangeLog
   trunk/plug-ins/file-uri/uri-backend-gvfs.c

Modified: trunk/plug-ins/file-uri/uri-backend-gvfs.c
==============================================================================
--- trunk/plug-ins/file-uri/uri-backend-gvfs.c	(original)
+++ trunk/plug-ins/file-uri/uri-backend-gvfs.c	Sat Nov 22 16:55:32 2008
@@ -298,7 +298,7 @@
 
   progress.mode = mode;
 
-  success = g_file_copy (src_file, dest_file, 0, NULL,
+  success = g_file_copy (src_file, dest_file, G_FILE_COPY_OVERWRITE, NULL,
                          uri_progress_callback, &progress,
                          error);
 



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