From 68971f5858e086444224be329f4abd10f7412ad2 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Fri, 26 Sep 2008 10:39:21 +0000 Subject: 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 --- (limited to 'shell/ev-pixbuf-cache.c') 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); -- cgit v0.9.1