[gthumb/ext] ignore "not supported" error while importing



commit 2a1d958f0189ded2df723fc699dc0f02e3f16f1c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 22 12:49:02 2009 +0200

    ignore "not supported" error while importing
    
    [bug #594769]

 extensions/photo_importer/gth-import-task.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/extensions/photo_importer/gth-import-task.c b/extensions/photo_importer/gth-import-task.c
index 5b44582..db72752 100644
--- a/extensions/photo_importer/gth-import-task.c
+++ b/extensions/photo_importer/gth-import-task.c
@@ -128,6 +128,9 @@ copy_ready_cb (GError   *error,
 	GthImportTask *self = user_data;
 	gboolean       appling_tranformation = FALSE;
 
+	if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED))
+		error = NULL;
+
 	if (error != NULL) {
 		gth_task_completed (GTH_TASK (self), error);
 		return;



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