summaryrefslogtreecommitdiff
path: root/src/gui/gui-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-action.c')
-rw-r--r--src/gui/gui-action.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/gui-action.c b/src/gui/gui-action.c
index 34e4d1ab1..69be9c6ac 100644
--- a/src/gui/gui-action.c
+++ b/src/gui/gui-action.c
@@ -1405,7 +1405,6 @@ gui_action_scroll_unread (t_gui_window *window, char *args)
void
gui_action_set_unread (t_gui_window *window, char *args)
{
- t_gui_window *ptr_win;
t_gui_buffer *ptr_buffer;
/* make C compiler happy */
@@ -1421,10 +1420,7 @@ gui_action_set_unread (t_gui_window *window, char *args)
}
/* refresh all windows */
- for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
- {
- gui_window_redraw_buffer (ptr_win->buffer);
- }
+ gui_window_redraw_all_buffers ();
}
/*