aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-03-17 09:51:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-03-17 09:51:12 +0800
commit1cf3fd66d7a22b742f53eaa3b0430554372b458e (patch)
treebb392c702b8e926f0d62783038dd228fe0181d1f /mail/mail-component.c
parentdaa7a586feb430c540f5972b39769b6a56adef13 (diff)
downloadgsoc2013-evolution-1cf3fd66d7a22b742f53eaa3b0430554372b458e.tar.gz
gsoc2013-evolution-1cf3fd66d7a22b742f53eaa3b0430554372b458e.tar.zst
gsoc2013-evolution-1cf3fd66d7a22b742f53eaa3b0430554372b458e.zip
** See bug #71003, again.
2005-03-16 Not Zed <NotZed@Ximian.com> ** See bug #71003, again. * mail-component.c (impl_quit): fix sense of 'can quit' logic. svn path=/trunk/; revision=29044
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 817d23114f..e831978235 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -693,7 +693,7 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev)
/* Falls through */
case MC_QUIT_SYNC:
if (mc->priv->quit_count > 0)
- return TRUE;
+ return FALSE;
mail_cancel_all();
mc->priv->quit_state = MC_QUIT_THREADS;
@@ -701,7 +701,7 @@ impl_quit(PortableServer_Servant servant, CORBA_Environment *ev)
/* Falls through */
case MC_QUIT_THREADS:
/* should we keep cancelling? */
- return mail_msg_active((unsigned int)-1) == 0;
+ return !mail_msg_active((unsigned int)-1);
}
return TRUE;