Merge branch 'treeview-separator-fix-drawing-zero-height' into 'gtk-3-24'

treeview: make sure separator nodes have a height > 0

See merge request GNOME/gtk!614
This commit is contained in:
Benjamin Otte 2019-03-04 12:22:42 +00:00
commit 28ea04efca

View File

@ -6395,6 +6395,8 @@ validate_row (GtkTreeView *tree_view,
if (is_separator)
{
height = get_separator_height (tree_view);
/* gtk_tree_view_get_row_height() assumes separator nodes are > 0 */
height = MAX (height, 1);
}
else
{