forked from AuroraMiddleware/gtk
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:
commit
28ea04efca
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user