[Rawstudio-commit] r2991 - branches/rawstudio-ng-color/src

Anders Brander anders at brander.dk
Thu Jan 14 19:28:05 CET 2010


Author: abrander
Date: 2010-01-14 19:28:05 +0100 (Thu, 14 Jan 2010)
New Revision: 2991

Modified:
   branches/rawstudio-ng-color/src/application.c
Log:
Ported test() away from rs_preload_*().

Modified: branches/rawstudio-ng-color/src/application.c
===================================================================
--- branches/rawstudio-ng-color/src/application.c	2010-01-14 18:27:24 UTC (rev 2990)
+++ branches/rawstudio-ng-color/src/application.c	2010-01-14 18:28:05 UTC (rev 2991)
@@ -41,7 +41,6 @@
 #include "rs-histogram.h"
 #include "rs-photo.h"
 #include "rs-exif.h"
-#include "rs-preload.h"
 #include "rs-library.h"                                                                                                                                    
 #include "lensfun.h"
 
@@ -336,7 +335,7 @@
 		status = g_io_channel_read_line(io, &next_filename, NULL, NULL, NULL);
 		g_strstrip(next_filename);
 		if (status != G_IO_STATUS_EOF)
-			rs_preload(next_filename);
+			rs_io_idle_prefetch_file(next_filename, -1);
 		gboolean filetype_ok = FALSE;
 		gboolean load_ok = FALSE;
 		gboolean thumbnail_ok = FALSE;




More information about the Rawstudio-commit mailing list