Mercurial > geeqie
diff src/collect-io.c @ 318:b16b9b8979e5
Add a new struct ConfOptions to handle options.
Changes were made among the code to use only one global var
named "options" of type ConfOptions *.
Initialization takes place in new init_options().
author | zas_ |
---|---|
date | Fri, 11 Apr 2008 22:14:36 +0000 |
parents | 07def8e708e1 |
children | 767b53cd9ab7 |
line wrap: on
line diff
--- a/src/collect-io.c Fri Apr 11 20:35:37 2008 +0000 +++ b/src/collect-io.c Fri Apr 11 22:14:36 2008 +0000 @@ -240,7 +240,7 @@ /* setup loader and call it */ cd->thumb_info = ci; thumb_loader_free(cd->thumb_loader); - cd->thumb_loader = thumb_loader_new(thumb_max_width, thumb_max_height); + cd->thumb_loader = thumb_loader_new(options->thumb_max_width, options->thumb_max_height); thumb_loader_set_callbacks(cd->thumb_loader, collection_load_thumb_done_cb, collection_load_thumb_error_cb,