diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-09-26 10:39:21 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-09-26 10:39:21 (GMT) |
commit | 68971f5858e086444224be329f4abd10f7412ad2 (patch) | |
tree | e14e9058a934f233b450fa5ee9798e4b84ca4e59 /shell | |
parent | 08a13b29aec149e4df8f8ca1c123184575ef3ba4 (diff) |
Make sure copy_job_page_and_selection_to_job_info is always called before
2008-09-26 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-pixbuf-cache.c: (copy_job_to_job_info):
Make sure copy_job_page_and_selection_to_job_info is always called
before copy_job_to_job_info. Fixes bug #552382.
svn path=/trunk/; revision=3207
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-pixbuf-cache.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 91c2478..d8927f1 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -501,6 +501,12 @@ copy_job_to_job_info (EvJobRender *job_render, CacheJobInfo *job_info, EvPixbufCache *pixbuf_cache) { + if (!job_info->page_ready) { + copy_job_page_and_selection_to_job_info (job_render, + job_info, + pixbuf_cache); + } + if (job_render->flags & EV_RENDER_INCLUDE_LINKS) { if (job_info->link_mapping) ev_link_mapping_free (job_info->link_mapping); |