diff options
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 1c014c4b4f..bd749f9742 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2004-01-08 Not Zed <NotZed@Ximian.com> + + * e-msg-composer.c (set_editor_signature): add an assertion for no + account set. Discovered from bug #50786. + 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Remove the 6-pixel border diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index 959c67dd2b..722593a372 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -3082,8 +3082,11 @@ set_editor_signature (EMsgComposer *composer) { EAccountIdentity *id; GSList *signatures; + + g_return_if_fail(E_MSG_COMPOSER_HDRS (composer->hdrs)->account != NULL); /* printf ("set_editor_signature\n"); */ + id = E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id; signatures = mail_config_get_signature_list (); |