aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-ops.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b736ba20ed..58979df4d8 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-12 Jeffrey Stedfast <fejj@helixcode.com>
+
+ * mail-ops.c (do_fetch_mail): Was trying to unhook an event from
+ the wrong folder - oops.
+
2000-09-12 Not Zed <NotZed@HelixCode.com>
* message-thread.c: Reverted to version 1.15.
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 92b2051f5c..7e5d567f10 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -234,7 +234,7 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex)
camel_folder_thaw (input->destination);
if (input->hook_func)
- camel_object_unhook_event (CAMEL_OBJECT (folder), "folder_changed",
+ camel_object_unhook_event (CAMEL_OBJECT (input->destination), "folder_changed",
input->hook_func, input->hook_data);
/* save the cache for the next time we fetch mail! */