- &(job_info->target_points),
- job_info->selection_style,
- text, base,
- include_forms,
- include_links,
- include_images,
- include_text,
- include_selection);
- ev_job_queue_add_job (job_info->job, priority);
+ flags);
+
+ if (new_selection_surface_needed (pixbuf_cache, job_info, page, scale)) {
+ GdkColor *text, *base;
+
+ gtk_widget_ensure_style (pixbuf_cache->view);
+ get_selection_colors (pixbuf_cache->view, &text, &base);
+ ev_job_render_set_selection_info (EV_JOB_RENDER (job_info->job),
+ &(job_info->target_points),
+ job_info->selection_style,
+ text, base);
+ }
+