]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-pixbuf-cache.c
Updated Belarusian Translation
[evince.git] / shell / ev-pixbuf-cache.c
index 46054914d141437e4a9f8af0db27ff3e809d3b22..3403873cffeb97ff91bbac90302ab62490de13a2 100644 (file)
@@ -1,3 +1,4 @@
+#include <config.h>
 #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;