Remove last outside gtk_cmclist_freeze/thaw for summaryview&folderview ctrees.
[claws.git] / src / plugins / att_remover / att_remover.c
index c1cec12152782061907b8033208410ebb39d0534..a76f2a8931f5d0f189e999aa218dc26cd39d922c 100644 (file)
@@ -173,7 +173,7 @@ static void remove_attachments_cb(GtkWidget *widget, AttRemover *attremover)
        }
 
        main_window_cursor_wait(mainwin);
-       gtk_cmclist_freeze(GTK_CMCLIST(summaryview->ctree));
+       summary_freeze(summaryview);
        folder_item_update_freeze();
        inc_lock();
        
@@ -242,7 +242,7 @@ static void remove_attachments_cb(GtkWidget *widget, AttRemover *attremover)
                         
        inc_unlock();
        folder_item_update_thaw();
-       gtk_cmclist_thaw(GTK_CMCLIST(summaryview->ctree));
+       summary_thaw(summaryview);
        main_window_cursor_normal(mainwin);
 
        if (msgnum > 0)
@@ -423,7 +423,7 @@ static void remove_attachments(GSList *msglist)
                return;
 
        main_window_cursor_wait(summaryview->mainwin);
-       gtk_cmclist_freeze(GTK_CMCLIST(summaryview->ctree));
+       summary_freeze(summaryview);
        folder_item_update_freeze();
        inc_lock();
 
@@ -452,7 +452,7 @@ static void remove_attachments(GSList *msglist)
 
        inc_unlock();
        folder_item_update_thaw();
-       gtk_cmclist_thaw(GTK_CMCLIST(summaryview->ctree));
+       summary_thaw(summaryview);
        main_window_cursor_normal(summaryview->mainwin);
 
        if (msgnum > 0) {