[gthumb: 4/15] always try to load the requested file



commit a756586da9045458e3bdedc5e937b7bfee9a927d
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Feb 25 13:06:27 2010 +0100

    always try to load the requested file

 gthumb/gth-image-preloader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-image-preloader.c b/gthumb/gth-image-preloader.c
index ca594db..4952bed 100644
--- a/gthumb/gth-image-preloader.c
+++ b/gthumb/gth-image-preloader.c
@@ -335,7 +335,7 @@ load_data_new (GthImagePreloader *image_preloader,
 	load_data = g_new0 (LoadData, 1);
 
 	load_data->image_preloader = image_preloader;
-	load_data->requested = check_file (requested);
+	load_data->requested = gth_file_data_dup (requested);
 	load_data->next1 = check_file (next1);
 	load_data->prev1 = check_file (prev1);
 



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