diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-12-23 12:27:28 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-12-23 12:27:28 (GMT) |
commit | 31bc4d06793e129ce40995a3eaec4fda6beb92f4 (patch) | |
tree | 6ad390ef80b4a9202bc33281542e1e95e8309526 /shell | |
parent | c01c82aeefaa240b3430cb060738be7a2d8278ec (diff) |
Disconnect also page-ready signal when removing a job because the page
2007-12-23 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
<kripkensteiner@gmail.com>.
svn path=/trunk/; revision=2779
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-pixbuf-cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |