Mercurial > geeqie
diff src/image.c @ 890:bc9df0fecdc1
Introduce image_loader_set_done_func().
author | zas_ |
---|---|
date | Fri, 18 Jul 2008 09:55:15 +0000 |
parents | d8e1e820cee7 |
children | 841b387dd877 |
line wrap: on
line diff
--- a/src/image.c Thu Jul 17 22:36:58 2008 +0000 +++ b/src/image.c Fri Jul 18 09:55:15 2008 +0000 @@ -621,15 +621,13 @@ /* override the old signals */ image_loader_set_area_ready_func(imd->il, image_load_area_cb, imd); image_loader_set_error_func(imd->il, image_load_error_cb, imd); + image_loader_set_done_func(imd->il, image_load_done_cb, imd); image_loader_set_buffer_size(imd->il, IMAGE_LOAD_BUFFER_COUNT); #ifdef IMAGE_THROTTLE_LARGER_IMAGES image_load_buffer_throttle(imd->il); #endif - /* do this one directly (probably should add a set func) */ - imd->il->func_done = image_load_done_cb; - g_object_set(G_OBJECT(imd->pr), "loading", TRUE, NULL); image_state_set(imd, IMAGE_STATE_LOADING);