aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2002-08-08 01:27:15 +0800
committerPeter Williams <peterw@src.gnome.org>2002-08-08 01:27:15 +0800
commitf7a5a0a2618b4e38777c9ce54d35c72193364064 (patch)
treecdae129869418158696b101bb0a265ac132d00f7 /mail/component-factory.c
parent043ad65cc2edf25f2a21c7ea924769d21378e94b (diff)
downloadgsoc2013-evolution-f7a5a0a2618b4e38777c9ce54d35c72193364064.tar.gz
gsoc2013-evolution-f7a5a0a2618b4e38777c9ce54d35c72193364064.tar.zst
gsoc2013-evolution-f7a5a0a2618b4e38777c9ce54d35c72193364064.zip
If outbox_folder is NULL, don't try and get its message count (this should
2002-08-07 Peter Williams <peterw@ximian.com> * component-factory.c (request_quit): If outbox_folder is NULL, don't try and get its message count (this should never happen, but has.) svn path=/trunk/; revision=17731
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index e9b3c8482b..c27a26d048 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -944,7 +944,7 @@ request_quit (EvolutionShellComponent *shell_component,
if (!e_msg_composer_request_close_all ())
return FALSE;
- if (!camel_folder_get_message_count (outbox_folder))
+ if (!outbox_folder || !camel_folder_get_message_count (outbox_folder))
return TRUE;
dialog = gnome_message_box_new (_("You have unsent messages, do you wish to quit anyway?"),