From 436f8487ff3eb2907b5c02ed71d501f3fe23c96e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 12 Sep 2000 04:46:48 +0000 Subject: Was trying to unhook an event from the wrong folder - oops. 2000-09-12 Jeffrey Stedfast * mail-ops.c (do_fetch_mail): Was trying to unhook an event from the wrong folder - oops. svn path=/trunk/; revision=5356 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'mail') 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 + + * mail-ops.c (do_fetch_mail): Was trying to unhook an event from + the wrong folder - oops. + 2000-09-12 Not Zed * 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! */ -- cgit v1.2.3