aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-05 01:22:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-05 01:22:12 +0800
commitd6e309cac3804858878039f3283b2bcff24658a1 (patch)
tree3af63cfbf5a18ecf70f535f705ec9f91917e1364 /mail/ChangeLog
parent37069d45fd05fd66f985b64d4364e6ef73026a18 (diff)
downloadgsoc2013-evolution-d6e309cac3804858878039f3283b2bcff24658a1.tar.gz
gsoc2013-evolution-d6e309cac3804858878039f3283b2bcff24658a1.tar.zst
gsoc2013-evolution-d6e309cac3804858878039f3283b2bcff24658a1.zip
Revert Sam's changes.
2001-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Revert Sam's changes. Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the original value which we can just change to update the hash table without the need to re-insert - it's already there!! Also, you don't want to g_hash_table_insert the new value with the same key without at least first removing the existing bucket. And, you certainly don't want to g_free() the key after you insert it - eek!! svn path=/trunk/; revision=10780
Diffstat (limited to 'mail/ChangeLog')
-rw-r--r--mail/ChangeLog15
1 files changed, 14 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 495728fdd7..663f8cb6fe 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,9 +1,22 @@
+2001-07-04 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-config.c (mail_config_set_show_preview): Revert Sam's changes.
+
+ Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the
+ original value which we can just change to update the hash table
+ without the need to re-insert - it's already there!! Also, you
+ don't want to g_hash_table_insert the new value with the same key
+ without at least first removing the existing bucket. And, you
+ certainly don't want to g_free() the key after you insert it -
+ eek!!
+
2001-07-03 Sam Creasey <sammy@oh.verio.com>
+
* mail-config.c (mail_config_set_show_preview): Replace value in
config->preview_hash when it already exists. Old code never
re-inserted into the hash, just assigned to val -- it's an int
here, not a real pointer.
-
+
2001-07-03 Joe Shaw <joe@ximian.com>
* mail-callbacks.c (expunge_folder): Unset the message being displayed