From 73f27c89bc2085970de8ee2ec7e3366968d75065 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 16 Aug 2007 07:08:08 +0000 Subject: 2007-08-16 mcrha Fix for bug #466548 svn path=/trunk/; revision=34010 --- plugins/groupwise-features/ChangeLog | 7 +++++++ plugins/groupwise-features/mail-send-options.c | 3 +++ 2 files changed, 10 insertions(+) (limited to 'plugins/groupwise-features') diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index 162cd1d4b3..b8ba9f2396 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,3 +1,10 @@ +2007-08-16 Milan Crha + + ** Fix for bug #466548 + + * mail-send-options.c: (org_gnome_composer_send_options): + e_msg_composer_get_preferred_account can return NULL, so test for it. + 2007-08-13 Sankar P ** Fix for bug #330968 diff --git a/plugins/groupwise-features/mail-send-options.c b/plugins/groupwise-features/mail-send-options.c index de4bb8a86d..0f580b99a7 100644 --- a/plugins/groupwise-features/mail-send-options.c +++ b/plugins/groupwise-features/mail-send-options.c @@ -146,6 +146,9 @@ org_gnome_composer_send_options (EPlugin *ep, EMEventTargetComposer *t) char *temp = NULL; account = e_msg_composer_get_preferred_account (comp) ; + if (!account) + return; + temp = strstr (account->transport->url, "groupwise") ; if (!temp) { return; -- cgit v1.2.3