aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-10 02:00:53 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-10 02:00:53 +0800
commit04d7e28a0bc12a7f5a30393938a227ad763bfcc6 (patch)
tree9ee739a99a2fd45ce6ba4742cef9c7547eccdc00 /mail/message-list.c
parent3b70c584967f35faf61e39df0508023c58b43e94 (diff)
downloadgsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar.gz
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar.bz2
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar.lz
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar.xz
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.tar.zst
gsoc2013-evolution-04d7e28a0bc12a7f5a30393938a227ad763bfcc6.zip
Some NULL protection for our strings: pgp_key, html_signature, smime_key.
2001-07-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Some NULL protection for our strings: pgp_key, html_signature, smime_key. Probably we should do this for all strings. Either that or change Bonobo Config. * message-list.c (message_list_init): Explicitly initialize search to NULL. Bug 3951 might to be due to a problem wrt this, and it can't hurt. svn path=/trunk/; revision=10919
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 92db0ff66f..c5f19abe9e 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1084,6 +1084,8 @@ message_list_init (GtkObject *object)
message_list->hide_before = ML_HIDE_NONE_START;
message_list->hide_after = ML_HIDE_NONE_END;
+ message_list->search = NULL;
+
message_list->hide_lock = g_mutex_new();
message_list->uid_nodemap = g_hash_table_new (g_str_hash, g_str_equal);