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/mail-ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-ops.c') 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