evince r3207 - in trunk: . shell



Author: carlosgc
Date: Fri Sep 26 10:39:21 2008
New Revision: 3207
URL: http://svn.gnome.org/viewvc/evince?rev=3207&view=rev

Log:
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.

Modified:
   trunk/ChangeLog
   trunk/shell/ev-pixbuf-cache.c

Modified: trunk/shell/ev-pixbuf-cache.c
==============================================================================
--- trunk/shell/ev-pixbuf-cache.c	(original)
+++ trunk/shell/ev-pixbuf-cache.c	Fri Sep 26 10:39:21 2008
@@ -501,6 +501,12 @@
 		      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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]