]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-pixbuf-cache.c
Remove a mutex in the main thread that blocks the UI in heavy documents.
[evince.git] / shell / ev-pixbuf-cache.c
index 885c11a5f3c8d6c4fbf3d8221a4c3f35abbf937b..285cae4e2cb366a7eab5f62e26e485b4b6dd45c9 100644 (file)
@@ -449,6 +449,7 @@ copy_job_to_job_info (EvJobRender   *job_render,
                job_info->selection_region = gdk_region_copy (job_render->selection_region);
                job_info->selection = g_object_ref (job_render->selection);
                g_assert (job_info->selection_points.x1 >= 0);
+               job_info->points_set = TRUE;
        }
 
        if (job_info->job) {
@@ -701,7 +702,7 @@ ev_pixbuf_cache_get_link_mapping (EvPixbufCache *pixbuf_cache,
            EV_JOB (job_info->job)->finished) {
                copy_job_to_job_info (EV_JOB_RENDER (job_info->job), job_info, pixbuf_cache);
        }
-       
+
        return job_info->link_mapping;
 }