X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-pixbuf-cache.c;h=3403873cffeb97ff91bbac90302ab62490de13a2;hb=a003d7ffe3fd328ae430ae613a8da037f766aabb;hp=46054914d141437e4a9f8af0db27ff3e809d3b22;hpb=982600bbceb76a22d5c7b3e0cbe6e20421105ad6;p=evince.git diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 46054914..3403873c 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -1,3 +1,4 @@ +#include #include "ev-pixbuf-cache.h" #include "ev-job-queue.h" #include "ev-page-cache.h" @@ -306,6 +307,9 @@ check_job_size_and_unref (EvPixbufCache *pixbuf_cache, height == EV_JOB_RENDER (job_info->job)->target_height) return; + g_signal_handlers_disconnect_by_func (job_info->job, + G_CALLBACK (job_page_ready_cb), + pixbuf_cache); g_signal_handlers_disconnect_by_func (job_info->job, G_CALLBACK (job_finished_cb), pixbuf_cache); @@ -607,7 +611,7 @@ add_job (EvPixbufCache *pixbuf_cache, gboolean include_links = FALSE; gboolean include_text = FALSE; gboolean include_selection = FALSE; - gboolean include_images = TRUE; + gboolean include_images = FALSE; gboolean include_forms = FALSE; GdkColor *text, *base;