From 68971f5858e086444224be329f4abd10f7412ad2 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 26 Sep 2008 10:39:21 +0000 Subject: [PATCH] Make sure copy_job_page_and_selection_to_job_info is always called before 2008-09-26 Carlos Garcia Campos * 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 --- ChangeLog | 7 +++++++ shell/ev-pixbuf-cache.c | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 03fc175d..4589b98d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-09-26 Carlos Garcia Campos + + * 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. + 2008-09-22 Carlos Garcia Campos * NEWS: diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 91c24780..d8927f12 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); -- 2.43.5