talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 7ba4c8da79ca178fa42a30c5799bfe6c6ce965eb
parent 5e93424f72b031e73f4a1f8fb46570fbc87b1c94
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 24 Mar 2019 01:04:56 +0100

Restore original "special case" comment in GtkCMCLists draw_rows()

Diffstat:
Msrc/gtk/gtkcmclist.c | 15++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c @@ -6044,17 +6044,10 @@ draw_rows (GtkCMCList *clist, last_row = ROW_FROM_YPIXEL (clist, clist->clist_window_height); } - /* Two special cases: - * 1. this is a small special case which exposes the bottom cell line - * on the last row -- it might go away if I change the wall the cell - * spacings are drawn - * 2. in GTK3, the area being redrawn in an expose event is blanked - * out, and since ROW_FROM_YPIXEL returns first fully visible - * row, we also need to redraw the half-visible row that is above - * it; - * TODO: optimization: do not do this if top of first_row matches - * top of the area rectangle exactly - */ + /* this is a small special case which exposes the bottom cell line + * on the last row -- it might go away if I change the wall the cell + * spacings are drawn + */ if (clist->rows == first_row) first_row--;