#include "imap_gtk.h"
#include "news_gtk.h"
#include "matcher.h"
+#include "imap-thread.h"
#if USE_OPENSSL
# include "ssl.h"
#endif
sock_set_io_timeout(prefs_common.io_timeout_secs);
-
+ imap_main_set_timeout(prefs_common.io_timeout_secs);
+
prefs_actions_read_config();
prefs_display_header_read_config();
/* prefs_filtering_read_config(); */
exit_sylpheed(mainwin);
}
+ imap_main_init();
+
account_set_missing_folder();
folder_set_missing_folders();
folderview_set(folderview);
debug_print("shutting down\n");
+ imap_main_done();
+
inc_autocheck_timer_remove();
if (prefs_common.clean_on_exit)