[Commits] [SCM] claws branch, gtk3, updated. 3.16.0-622-g7ba4c8d
ticho at claws-mail.org
ticho at claws-mail.org
Sun Mar 24 01:05:54 CET 2019
The branch, gtk3 has been updated
via 7ba4c8da79ca178fa42a30c5799bfe6c6ce965eb (commit)
from 5e93424f72b031e73f4a1f8fb46570fbc87b1c94 (commit)
Summary of changes:
src/gtk/gtkcmclist.c | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
- Log -----------------------------------------------------------------
commit 7ba4c8da79ca178fa42a30c5799bfe6c6ce965eb
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Sun Mar 24 01:04:56 2019 +0100
Restore original "special case" comment in GtkCMCLists draw_rows()
diff --git a/src/gtk/gtkcmclist.c b/src/gtk/gtkcmclist.c
index 5cbb38b..c38305f 100644
--- 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--;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list