aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-subscribe-editor.c
diff options
context:
space:
mode:
authorJohnny Jacob <jjohnny@src.gnome.org>2007-08-16 16:08:17 +0800
committerJohnny Jacob <jjohnny@src.gnome.org>2007-08-16 16:08:17 +0800
commitd51a74a2ecefaa8622745c33c288916c4940504f (patch)
tree975ade752f4a22998b02966c54796843f8834b8a /mail/em-subscribe-editor.c
parent8492646796594a34e126c6f63aea9f24140b8f74 (diff)
downloadgsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.gz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.bz2
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.lz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.xz
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.tar.zst
gsoc2013-evolution-d51a74a2ecefaa8622745c33c288916c4940504f.zip
Fix for #364431.
svn path=/trunk/; revision=34012
Diffstat (limited to 'mail/em-subscribe-editor.c')
-rw-r--r--mail/em-subscribe-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c
index 0f63800efa..fc52d1e80d 100644
--- a/mail/em-subscribe-editor.c
+++ b/mail/em-subscribe-editor.c
@@ -684,8 +684,10 @@ sub_editor_refresh(GtkWidget *w, EMSubscribeEditor *se)
sub->seq++;
/* drop any currently pending */
- if (sub->pending_id != -1)
+ if (sub->pending_id != -1) {
mail_msg_cancel(sub->pending_id);
+ mail_msg_wait(sub->pending_id);
+ }
gtk_tree_store_clear((GtkTreeStore *)gtk_tree_view_get_model(sub->tree));