diff src/account.c @ 5659:6b3214ab8632

[gaim-migrate @ 6073] Added gaim_account_set_check_mail(), and imported the pref. Now we just have to save it and use it again. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 08:49:23 +0000
parents eb685809108b
children 132a30783c3d
line wrap: on
line diff
--- a/src/account.c	Mon Jun 02 08:24:04 2003 +0000
+++ b/src/account.c	Mon Jun 02 08:49:23 2003 +0000
@@ -277,6 +277,16 @@
 }
 
 void
+gaim_account_set_check_mail(GaimAccount *account, gboolean value)
+{
+	g_return_if_fail(account != NULL);
+
+	account->check_mail = value;
+
+	schedule_accounts_save();
+}
+
+void
 gaim_account_set_int(GaimAccount *account, const char *name, int value)
 {
 	GaimAccountSetting *setting;