aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parenteec8cbc2e400740a18eb436c36377ee48943a8a7 (diff)
downloadgsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.gz
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.bz2
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.lz
gsoc2013-evolution-c72b6cb1e405d8fe3363f40520aa4e3f2e69a9d2.tar.xz
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')
-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