treeview: prefer positive polarity in if block

This commit is contained in:
Cosimo Cecchi 2015-12-29 18:02:21 -08:00
parent 1f690ddbfa
commit 2eb7e6a85a

View File

@ -6327,18 +6327,18 @@ validate_row (GtkTreeView *tree_view,
NULL, NULL, NULL,
NULL, &row_height);
if (!is_separator)
if (is_separator)
{
row_height += vertical_separator;
height = MAX (height, row_height);
height = MAX (height, expander_size);
}
else
{
if (wide_separators)
height = separator_height;
else
height = 2;
}
else
{
row_height += vertical_separator;
height = MAX (height, row_height);
height = MAX (height, expander_size);
}
if (gtk_tree_view_is_expander_column (tree_view, column))