[gthumb] no need to test the file type before rotating images



commit 4be3583d172a3d7de518d0cb369b1d50a0bffeb0
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Jul 31 19:26:55 2010 +0200

    no need to test the file type before rotating images

 extensions/webalbums/gth-web-exporter.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/extensions/webalbums/gth-web-exporter.c b/extensions/webalbums/gth-web-exporter.c
index e7a466a..ba92e3e 100644
--- a/extensions/webalbums/gth-web-exporter.c
+++ b/extensions/webalbums/gth-web-exporter.c
@@ -2453,9 +2453,7 @@ copy_current_file (GthWebExporter *self)
 	{
 		gboolean appling_tranformation = FALSE;
 
-		if (gth_main_extension_is_active ("image_rotation")
-		    && g_content_type_equals (gth_file_data_get_mime_type (image_data->file_data), "image/jpeg"))
-		{
+		if (gth_main_extension_is_active ("image_rotation")) {
 			GthFileData *file_data;
 
 			file_data = gth_file_data_new (destination, image_data->file_data->info);



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