* src/compose.c
[claws.git] / src / inc.c
index c66ecb5..d3ffbc4 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -152,7 +152,7 @@ static void inc_finished(MainWindow *mainwin, gboolean new_messages)
        } else if (prefs_common.scan_all_after_inc) {
                item = mainwin->summaryview->folder_item;
                if (FOLDER_SUMMARY_MISMATCH(item, mainwin->summaryview)) {
-                       folderview_update_item(item, TRUE);
+                       folder_update_item(item, TRUE);
                }       
        }
 }
@@ -247,7 +247,7 @@ static gint inc_account_mail(PrefsAccount *account, MainWindow *mainwin)
                folderview_check_new(FOLDER(account->folder));
                if (!prefs_common.scan_all_after_inc && item != NULL &&
                    FOLDER(account->folder) == item->folder)
-                       folderview_update_item(item, TRUE);
+                       folder_update_item(item, TRUE);
                return 1;
 
        case A_POP3:
@@ -328,7 +328,7 @@ void inc_all_account_mail(MainWindow *mainwin, gboolean notify)
                        folderview_check_new(FOLDER(account->folder));
                        if (!prefs_common.scan_all_after_inc && item != NULL &&
                            FOLDER(account->folder) == item->folder)
-                               folderview_update_item(item, TRUE);
+                               folder_update_item(item, TRUE);
                }
        }
 
@@ -614,7 +614,7 @@ static gint inc_start(IncProgressDialog *inc_dialog)
                new_msgs += pop3_state->cur_total_num;
 
                if (!prefs_common.scan_all_after_inc) {
-                       folderview_update_items_when_required
+                       folder_update_items_when_required
                                 (!prefs_common.open_inbox_on_inc);
                }
 
@@ -1164,10 +1164,10 @@ static gint get_spool(FolderItem *dest, const gchar *mbox)
        unlock_mbox(mbox, lockfd, LOCK_FLOCK);
 
        if (!prefs_common.scan_all_after_inc) {
-               folderview_update_items_when_required
+               folder_update_items_when_required
                        (!prefs_common.open_inbox_on_inc);
        } else if (!prefs_common.scan_all_after_inc) {
-               folderview_update_item(dest, TRUE);
+               folder_update_item(dest, TRUE);
        }
 
        return msgs;