aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-09-22 16:36:34 +0800
committerMilan Crha <mcrha@redhat.com>2010-09-22 16:36:34 +0800
commit2e20af9240bba4ba457a6438df6aa84b9ed5af29 (patch)
treef1a321237766ac707f87c6cb8593628f1ea4658e
parent2168903b2396d09e11cd2b4d1f912d535215888a (diff)
downloadgsoc2013-evolution-2e20af9240bba4ba457a6438df6aa84b9ed5af29.tar.gz
gsoc2013-evolution-2e20af9240bba4ba457a6438df6aa84b9ed5af29.tar.zst
gsoc2013-evolution-2e20af9240bba4ba457a6438df6aa84b9ed5af29.zip
Bug #630269 - Hang on mail operation cancel
-rw-r--r--mail/mail-mt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index e17d3c2daf..80a37c15ec 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -303,8 +303,11 @@ void mail_msg_cancel (guint msgid)
m = g_hash_table_lookup (mail_msg_active_table, GINT_TO_POINTER (msgid));
- if (m != NULL && m->cancel != NULL && !camel_operation_cancel_check (m->cancel))
+ if (m != NULL && m->cancel != NULL && !camel_operation_cancel_check (m->cancel)) {
+ g_signal_handlers_block_by_func (m->cancel, mail_msg_cancelled, GINT_TO_POINTER (m->seq));
camel_operation_cancel (m->cancel);
+ g_signal_handlers_unblock_by_func (m->cancel, mail_msg_cancelled, GINT_TO_POINTER (m->seq));
+ }
g_mutex_unlock (mail_msg_lock);
}
=gstreamer0.10-removal&id=6b5d4770b3242e463287df56b07800b2992d32cd'>- Fix shebangs for py-speech-dispatcheramdmi32018-02-041-1/+2 * Convert Python ports to FLAVORS.mat2017-11-301-1/+2 * Add more PLIST_SUB to Mk/Uses/python.mksunpoet2017-01-081-14/+1 * - Make portscout ignore slave portsavilla2016-12-281-0/+2 * accessibility/speech-dispatcher: update to 0.8.6avilla2016-12-221-6/+11 * ${RM} already has -f.mat2016-10-211-1/+1 * accessibility/py3-speech-dispatcher: fix packaging with python 3.5rm2016-10-131-4/+14 * Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.mat2016-04-011-13/+13 * Split off the python bindings into it own slave port. They where not buildkwm2016-01-181-7/+18 * accessibility/speech-dispatcher: remove NLS optionavilla2015-07-011-18/+3 * accessibility/speech-dispatcher: update to 0.8.3avilla2015-06-291-14/+27 * Remove now useless dependency on gnomehierbapt2014-12-211-3/+3 * Add USES=alias to several portsmarino2014-10-201-1/+1 * Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.tijl2014-09-171-1/+1 * - Switch accessibility/speech-dispatcher to USES=libtool, drop .la filesamdmi32014-06-041-1/+2 * - Update to 0.8.avilla2013-11-171-100/+45 * Restrict python to -2.7kwm2013-10-301-1/+1 * Add no stage all over the place in accessibility in preparation for the stagi...bapt2013-09-201-0/+1 * Finish converting accessibility from USE_GMAKE to USES=gmakebapt2013-08-301-2/+2