aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-06 01:35:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-06 01:35:26 +0800
commitbcf19b2ae70dc58802147c88652b46039e7e7101 (patch)
treec74fa25b674c583d3688852e1d54ae2eff34fab6 /mail/mail-config.c
parent11ca9e631eaa88cf1099ecdca6799bcb02e742ac (diff)
downloadgsoc2013-evolution-bcf19b2ae70dc58802147c88652b46039e7e7101.tar.gz
gsoc2013-evolution-bcf19b2ae70dc58802147c88652b46039e7e7101.tar.zst
gsoc2013-evolution-bcf19b2ae70dc58802147c88652b46039e7e7101.zip
Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): Fix
2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): Fix this one too. svn path=/trunk/; revision=10816
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 6a60a4855e..d0b473172f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -923,7 +923,8 @@ mail_config_set_show_preview (const char *uri, gboolean value)
config->preview_hash = g_hash_table_new (g_str_hash, g_str_equal);
if (g_hash_table_lookup_extended (config->preview_hash, dbkey, &key, &val)) {
- val = GINT_TO_POINTER (value);
+ g_hash_table_insert (config->preview_hash, dbkey,
+ GINT_TO_POINTER (value));
g_free (dbkey);
} else {
g_hash_table_insert (config->preview_hash, dbkey,
@@ -977,7 +978,8 @@ mail_config_set_thread_list (const char *uri, gboolean value)
config->threaded_hash = g_hash_table_new (g_str_hash, g_str_equal);
if (g_hash_table_lookup_extended (config->threaded_hash, dbkey, &key, &val)) {
- val = GINT_TO_POINTER (value);
+ g_hash_table_insert (config->threaded_hash, dbkey,
+ GINT_TO_POINTER (value));
g_free (dbkey);
} else {
g_hash_table_insert (config->threaded_hash, dbkey,