aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-11 05:27:37 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-11 05:27:37 +0800
commit18121f04a251a5a179fbec0dc76856299c636198 (patch)
tree341dfaafb552e67ecaba40f1f3852e1781ca15a2 /mail/mail-callbacks.c
parent4292bd7e850475ecea066f711388a674771ff940 (diff)
downloadgsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.gz
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.bz2
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.lz
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.xz
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.tar.zst
gsoc2013-evolution-18121f04a251a5a179fbec0dc76856299c636198.zip
Prevent Federico's segfault.
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (send_queued_mail): Prevent Federico's segfault. svn path=/trunk/; revision=7372
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index ee9de6d195..f26380773a 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -211,7 +211,7 @@ send_queued_mail (GtkWidget *widget, gpointer user_data)
}
account = mail_config_get_default_account ();
- if (!account->transport) {
+ if (!account || !account->transport) {
GtkWidget *win = gtk_widget_get_ancestor (GTK_WIDGET (user_data),
GTK_TYPE_WINDOW);