diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-10-22 00:56:18 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-10-22 00:56:18 +0800 |
commit | 6dcb454f5ab46e4e4893643234a05ee41fd90517 (patch) | |
tree | 94ca91a2324cb9e7ef73e5c1ff4281b1f849a5fa /composer | |
parent | 14432d071634e28570059c0921fa301e3937a061 (diff) | |
download | gsoc2013-evolution-6dcb454f5ab46e4e4893643234a05ee41fd90517.tar.gz gsoc2013-evolution-6dcb454f5ab46e4e4893643234a05ee41fd90517.tar.zst gsoc2013-evolution-6dcb454f5ab46e4e4893643234a05ee41fd90517.zip |
Only add the account address to the list of addresses if it is non-NULL.
2002-10-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_from_optionmenu): Only add the
account address to the list of addresses if it is non-NULL. Fixes
bug #32446 although it shouldn't ever happen anyway (an account
address is not allowed to be NULL).
svn path=/trunk/; revision=18401
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 7 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 5f3c6a9d6a..a7a6e003a2 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,10 @@ +2002-10-18 Jeffrey Stedfast <fejj@ximian.com> + + * e-msg-composer-hdrs.c (create_from_optionmenu): Only add the + account address to the list of addresses if it is non-NULL. Fixes + bug #32446 although it shouldn't ever happen anyway (an account + address is not allowed to be NULL). + 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new): We diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 7e09eb64f4..46bcbd1f46 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -209,7 +209,8 @@ create_from_optionmenu (EMsgComposerHdrs *hdrs) accounts = mail_config_get_accounts (); for (a = accounts; a; a = a->next) { account = a->data; - g_ptr_array_add (addresses, account->id->address); + if (account->id->address) + g_ptr_array_add (addresses, account->id->address); } while (accounts) { |