[gthumb] [webalbums] rotate the destination file instead of the original file
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] [webalbums] rotate the destination file instead of the original file
- Date: Sun, 25 Jul 2010 08:50:48 +0000 (UTC)
commit 91ffeddb0400720822c1f85bfdda6fe0b0f60ccf
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Jul 25 10:45:10 2010 +0200
[webalbums] rotate the destination file instead of the original file
[bug #623906]
extensions/webalbums/gth-web-exporter.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/extensions/webalbums/gth-web-exporter.c b/extensions/webalbums/gth-web-exporter.c
index ee45fb6..a720f92 100644
--- a/extensions/webalbums/gth-web-exporter.c
+++ b/extensions/webalbums/gth-web-exporter.c
@@ -2468,13 +2468,18 @@ copy_current_file (GthWebExporter *self)
transform = (GthTransform) strtol (value, (char **) NULL, 10);
if (transform != 1) {
- apply_transformation_async (image_data->file_data,
+ GthFileData *file_data;
+
+ file_data = gth_file_data_new (destination, image_data->file_data->info);
+ apply_transformation_async (file_data,
transform,
JPEG_MCU_ACTION_TRIM,
gth_task_get_cancellable (GTH_TASK (self)),
transformation_ready_cb,
self);
appling_tranformation = TRUE;
+
+ g_object_unref (file_data);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]