Commit ba060661 authored by Benjamin Otte's avatar Benjamin Otte

border: Don't special case according to border styles

This is now done (as it should) in the compute code.
parent 728bce2c
......@@ -344,9 +344,7 @@ hide_border_sides (double border[4],
for (i = 0; i < 4; i++)
{
if (hidden_side & (1 << i) ||
border_style[i] == GTK_BORDER_STYLE_NONE ||
border_style[i] == GTK_BORDER_STYLE_HIDDEN)
if (hidden_side & (1 << i))
border[i] = 0;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment