From 40c22b25f1e318b405bf2f995d2636de5c731959 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 6 Jul 2001 16:48:47 +0000 Subject: Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so only the selected folder gets updated, instead of "all folders that haven't yet been selected". svn path=/trunk/; revision=10846 --- mail/mail-folder-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-folder-cache.c') diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index d3e64c73d3..14e7015df6 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -820,7 +820,7 @@ mail_folder_cache_set_folder_browser (FolderBrowser *fb) LOCK_FOLDERS (); dm ("Checking folders for this fb"); - g_hash_table_foreach (folders, check_for_fb_match, NULL); + g_hash_table_foreach (folders, check_for_fb_match, fb); UNLOCK_FOLDERS (); } -- cgit