aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer-hdrs.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-11 12:12:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-11 12:12:12 +0800
commitaae60baf0154867ea986e2b7000f21fa8c8444c9 (patch)
treea0aa9e5adfb5b6b9cc5cd3cffd66a9073a330052 /composer/e-msg-composer-hdrs.c
parentac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f (diff)
downloadgsoc2013-evolution-aae60baf0154867ea986e2b7000f21fa8c8444c9.tar.gz
gsoc2013-evolution-aae60baf0154867ea986e2b7000f21fa8c8444c9.tar.zst
gsoc2013-evolution-aae60baf0154867ea986e2b7000f21fa8c8444c9.zip
Updated. We might want to change the corba interface for this to allow
2001-02-10 Jeffrey Stedfast <fejj@ximian.com> * evolution-composer.c (impl_Composer_set_headers): Updated. We might want to change the corba interface for this to allow setting the from-address as well. * e-msg-composer.c (e_msg_composer_new_with_message): Updated. (e_msg_composer_set_headers): Now takes a 'From' argument so that we can try to pre-determine the account the user will want to send from. svn path=/trunk/; revision=8165
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r--composer/e-msg-composer-hdrs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c
index 147b5ffbde..de6f37477c 100644
--- a/composer/e-msg-composer-hdrs.c
+++ b/composer/e-msg-composer-hdrs.c
@@ -641,6 +641,7 @@ e_msg_composer_hdrs_set_from_account (EMsgComposerHdrs *hdrs,
g_return_if_fail (hdrs != NULL);
g_return_if_fail (E_IS_MSG_COMPOSER_HDRS (hdrs));
+ g_return_if_fail (account_name != NULL);
omenu = GTK_OPTION_MENU (hdrs->priv->from_entry);