projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe2d420
)
set fallback pixbuf in case of missing file
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 19 Aug 2008 21:01:29 +0000
(21:01 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Tue, 19 Aug 2008 21:01:29 +0000
(21:01 +0000)
src/thumb_standard.c
patch
|
blob
|
history
diff --git
a/src/thumb_standard.c
b/src/thumb_standard.c
index
f9d1fb5
..
7258bc7
100644
(file)
--- a/
src/thumb_standard.c
+++ b/
src/thumb_standard.c
@@
-657,9
+657,13
@@
gint thumb_loader_std_start(ThumbLoaderStd *tl, FileData *fd)
thumb_loader_std_reset(tl);
- if (!stat_utf8(fd->path, &st)) return FALSE;
tl->fd = file_data_ref(fd);
+ if (!stat_utf8(fd->path, &st))
+ {
+ thumb_loader_std_set_fallback(tl);
+ return FALSE;
+ }
tl->source_mtime = st.st_mtime;
tl->source_size = st.st_size;
tl->source_mode = st.st_mode;