comparison 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
comparison
equal deleted inserted replaced
5658:060fb5fd081d 5659:6b3214ab8632
275 275
276 schedule_accounts_save(); 276 schedule_accounts_save();
277 } 277 }
278 278
279 void 279 void
280 gaim_account_set_check_mail(GaimAccount *account, gboolean value)
281 {
282 g_return_if_fail(account != NULL);
283
284 account->check_mail = value;
285
286 schedule_accounts_save();
287 }
288
289 void
280 gaim_account_set_int(GaimAccount *account, const char *name, int value) 290 gaim_account_set_int(GaimAccount *account, const char *name, int value)
281 { 291 {
282 GaimAccountSetting *setting; 292 GaimAccountSetting *setting;
283 293
284 g_return_if_fail(account != NULL); 294 g_return_if_fail(account != NULL);