changeset 1027:b0db0bd74dba

fixed read ahead callback
author nadvornik
date Sun, 31 Aug 2008 21:19:00 +0000
parents 8acc100d5527
children 1f4781992561
files src/image.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Sun Aug 31 21:02:09 2008 +0000
+++ b/src/image.c	Sun Aug 31 21:19:00 2008 +0000
@@ -452,7 +452,7 @@
 	imd->read_ahead_il = image_loader_new(imd->read_ahead_fd);
 
 	g_signal_connect (G_OBJECT(imd->read_ahead_il), "error", (GCallback)image_read_ahead_error_cb, imd);
-	g_signal_connect (G_OBJECT(imd->read_ahead_il), "error", (GCallback)image_read_ahead_done_cb, imd);
+	g_signal_connect (G_OBJECT(imd->read_ahead_il), "done", (GCallback)image_read_ahead_done_cb, imd);
 
 	if (!image_loader_start(imd->read_ahead_il))
 		{