From 068ae263a05245aa487ffc99bb5e884412043cbc Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 6 Jul 2001 18:58:48 +0000 Subject: Don't free the psd here -- it will be freed on the "destroy" signal. 2001-07-06 Peter Williams * mail-callbacks.c (composer_postpone_cb): Don't free the psd here -- it will be freed on the "destroy" signal. * mail-folder-cache.c (maybe_update): Instead of an idle, use a very short timeout in hopes of reducing the number of redundant updates. * mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the cache if we successfully got it. svn path=/trunk/; revision=10852 --- 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 14e7015df6..d00f3c02d9 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -326,7 +326,7 @@ maybe_update (mail_folder_info *mfi) return; mfi->flags |= MAIL_FIF_UPDATE_QUEUED; - g_idle_add (update_idle, mfi); + g_timeout_add (100, update_idle, mfi); } static void -- cgit v1.2.3