aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-callbacks.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9b0e9f4b08..b274a5dfd5 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-13 Dan Winship <danw@ximian.com>
+
+ * mail-callbacks.c (create_msg_composer): Don't emit a gtk warning
+ if the composer creation fails.
+
2001-10-12 Dan Winship <danw@ximian.com>
* message-list.c, message-list.h, message-list.etspec: Revert the
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