Mercurial > geeqie
comparison src/collect-io.c @ 864:f40509d56fe3
added pixbuf_fallback function
fixed thumb loader for non-image files
author | nadvornik |
---|---|
date | Fri, 27 Jun 2008 21:09:15 +0000 |
parents | 0c3f6ef17d18 |
children | 912726c2f5e3 |
comparison
equal
deleted
inserted
replaced
863:8ddd00cc8b69 | 864:f40509d56fe3 |
---|---|
221 { | 221 { |
222 GdkPixbuf *pixbuf; | 222 GdkPixbuf *pixbuf; |
223 | 223 |
224 if (!cd->thumb_loader || !g_list_find(cd->list, cd->thumb_info)) return; | 224 if (!cd->thumb_loader || !g_list_find(cd->list, cd->thumb_info)) return; |
225 | 225 |
226 pixbuf = thumb_loader_get_pixbuf(cd->thumb_loader, TRUE); | 226 pixbuf = thumb_loader_get_pixbuf(cd->thumb_loader); |
227 collection_info_set_thumb(cd->thumb_info, pixbuf); | 227 collection_info_set_thumb(cd->thumb_info, pixbuf); |
228 g_object_unref(pixbuf); | 228 g_object_unref(pixbuf); |
229 | 229 |
230 if (cd->info_updated_func) cd->info_updated_func(cd, cd->thumb_info, cd->info_updated_data); | 230 if (cd->info_updated_func) cd->info_updated_func(cd, cd->thumb_info, cd->info_updated_data); |
231 } | 231 } |