sync with sylpheed 0.6.0cvs4
[claws.git] / src / prefs_account.c
index 6ae61d4..c673fbb 100644 (file)
@@ -489,7 +489,7 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs)
 
        debug_print(_("Opening account preferences window...\n"));
 
-       inc_autocheck_timer_remove();
+       inc_lock();
 
        cancelled = FALSE;
 
@@ -545,7 +545,7 @@ PrefsAccount *prefs_account_open(PrefsAccount *ac_prefs)
        gtk_main();
        gtk_widget_hide(dialog.window);
 
-       inc_autocheck_timer_set();
+       inc_unlock();
 
        if (cancelled && new_account) {
                g_free(ac_prefs);