Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos 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)
commit31bc4d06793e129ce40995a3eaec4fda6beb92f4 (patch)
tree6ad390ef80b4a9202bc33281542e1e95e8309526
parentc01c82aeefaa240b3430cb060738be7a2d8278ec (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
-rw-r--r--ChangeLog9
-rw-r--r--shell/ev-pixbuf-cache.c3
2 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ead0d6..5e494b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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>.
+
2007-12-21 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* 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);