From 31bc4d06793e129ce40995a3eaec4fda6beb92f4 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sun, 23 Dec 2007 12:27:28 +0000 Subject: Disconnect also page-ready signal when removing a job because the page 2007-12-23 Carlos Garcia Campos * shell/ev-pixbuf-cache.c: (check_job_size_and_unref): Disconnect also page-ready signal when removing a job because the page size has changed. Thanks to kripken . svn path=/trunk/; revision=2779 --- diff --git a/ChangeLog b/ChangeLog index 3ead0d6..5e494b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-12-23 Carlos Garcia Campos + + * shell/ev-pixbuf-cache.c: (check_job_size_and_unref): + + Disconnect also page-ready signal when removing a job because the + page size has changed. Thanks to kripken + . + 2007-12-21 Nickolay V. Shmyrev * shell/ev-page-action.c: (page_scroll_cb), (create_tool_item): @@ -24,6 +32,7 @@ * configure.ac: * backend/ps/Makefile.am: * backend/ps/ev-spectre.[ch]: + Use libspectre, if available, for the ps backend. Fixes bugs #317106, #499787, #501235, #421879, #445797, #443859 and #486547. diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index 4605491..01eda4a 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -307,6 +307,9 @@ check_job_size_and_unref (EvPixbufCache *pixbuf_cache, 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); ev_job_queue_remove_job (job_info->job); -- cgit v0.9.1