Mercurial > geeqie
comparison 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 |
comparison
equal
deleted
inserted
replaced
317:46169c246c51 | 318:b16b9b8979e5 |
---|---|
238 } | 238 } |
239 | 239 |
240 /* setup loader and call it */ | 240 /* setup loader and call it */ |
241 cd->thumb_info = ci; | 241 cd->thumb_info = ci; |
242 thumb_loader_free(cd->thumb_loader); | 242 thumb_loader_free(cd->thumb_loader); |
243 cd->thumb_loader = thumb_loader_new(thumb_max_width, thumb_max_height); | 243 cd->thumb_loader = thumb_loader_new(options->thumb_max_width, options->thumb_max_height); |
244 thumb_loader_set_callbacks(cd->thumb_loader, | 244 thumb_loader_set_callbacks(cd->thumb_loader, |
245 collection_load_thumb_done_cb, | 245 collection_load_thumb_done_cb, |
246 collection_load_thumb_error_cb, | 246 collection_load_thumb_error_cb, |
247 NULL, | 247 NULL, |
248 cd); | 248 cd); |