Internal API change: split read/unread marking features from functions used
[claws.git] / src / mainwindow.c
index 19b98bd736e5647d7a61beff3a25b8c917c78230..64b2583a90da527bc5beca396e491abf9c5072f2 100644 (file)
@@ -4468,25 +4468,25 @@ static void unmark_cb(GtkAction *action, gpointer data)
 static void mark_as_read_cb(GtkAction *action, gpointer data)
 {
        MainWindow *mainwin = (MainWindow *)data;
-       summary_mark_as_read(mainwin->summaryview, TRUE);
+       summary_mark_as_read(mainwin->summaryview);
 }
 
 static void mark_as_unread_cb(GtkAction *action, gpointer data)
 {
        MainWindow *mainwin = (MainWindow *)data;
-       summary_mark_as_read(mainwin->summaryview, FALSE);
+       summary_mark_as_unread(mainwin->summaryview);
 }
 
 static void mark_all_read_cb(GtkAction *action, gpointer data)
 {
        MainWindow *mainwin = (MainWindow *)data;
-       summary_mark_all_read(mainwin->summaryview, TRUE);
+       summary_mark_all_read(mainwin->summaryview);
 }
 
 static void mark_all_unread_cb(GtkAction *action, gpointer data)
 {
        MainWindow *mainwin = (MainWindow *)data;
-       summary_mark_all_read(mainwin->summaryview, FALSE);
+       summary_mark_all_unread(mainwin->summaryview);
 }
 
 static void mark_as_spam_cb(GtkAction *action, gpointer data)