[maemo-commits] [maemo-commits] r16167 - projects/haf/branches/hildon-thumbnail/daemonize/daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 17 18:19:43 EEST 2008
Author: pvanhoof
Date: 2008-09-17 18:19:42 +0300 (Wed, 17 Sep 2008)
New Revision: 16167

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
Log:
Ignore copy errors

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c	2008-09-17 14:53:56 UTC (rev 16166)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c	2008-09-17 15:19:42 UTC (rev 16167)
@@ -506,16 +506,16 @@
 			from = g_file_new_for_path (from_s[n]);
 			to = g_file_new_for_path (to_s[n]);
 
+			/* We indeed ignore copy errors here */
+
 			g_file_copy (from, to, 
 				     G_FILE_COPY_NONE|G_FILE_COPY_OVERWRITE|G_FILE_COPY_ALL_METADATA,
 				     NULL, NULL, NULL,
-				     &nerror);
+				     NULL);
 
 			g_object_unref (from);
 			g_object_unref (to);
 
-			if (nerror)
-				goto nerror_handler;
 		}
 
 		nerror_handler:


More information about the maemo-commits mailing list