aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-14 01:32:04 +0800
committerDan Winship <danw@src.gnome.org>2001-10-14 01:32:04 +0800
commitc72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2 (patch)
tree9fec63adc2d1692bec6da8b067e1f1b6affad997 /mail/mail-callbacks.c
parenteec8cbc2e400740a18eb436c36377ee48943a8a7 (diff)
downloadgsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.gz
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.zst
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.zip
Don't emit a gtk warning if the composer creation fails.
* mail-callbacks.c (create_msg_composer): Don't emit a gtk warning if the composer creation fails. svn path=/trunk/; revision=13660
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index df292f480c..e50bcac040 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -664,9 +664,9 @@ create_msg_composer (const char *url)
e_msg_composer_hdrs_set_from_account (E_MSG_COMPOSER_HDRS (composer->hdrs), account->name);
e_msg_composer_set_send_html (composer, send_html);
e_msg_composer_show_sig_file (composer);
- }
-
- return GTK_WIDGET (composer);
+ return GTK_WIDGET (composer);
+ } else
+ return NULL;
}
void