[gthumb] Don't erase images before scaling, later ops will overwrite anyway



commit 82f1d3958e766c299ac19754afd9bd03a9c79e1e
Author: mjclab <mjclab pekkala localdomain>
Date:   Wed Jun 3 11:02:52 2009 -0400

    Don't erase images before scaling, later ops will overwrite anyway
---
 src/gth-batch-op.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/gth-batch-op.c b/src/gth-batch-op.c
index 1a9a7ff..232d7d0 100644
--- a/src/gth-batch-op.c
+++ b/src/gth-batch-op.c
@@ -485,9 +485,6 @@ save_image_and_remove_original (GthBatchOp *bop)
 {
 	GdkPixbuf *src, *dest;
 
-	if (path_is_file (PD(bop)->new_path))
-		file_unlink (PD(bop)->new_path);
-
 	src = PD(bop)->pixbuf;
 	if (PD(bop)->pixbuf_op->step_func == NULL)
 		dest = NULL;



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