From 42450cacd9700194b918fd49799107d7fd2bd785 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 9 May 2011 01:15:17 +0200 Subject: [PATCH] reftests: Modify test to ensure identical output GtkArrow and the align properties use different methods (float vs int) to center the arrow. If the size of the arrow is odd, this will cause a rendering that differs by half a pixel. So we request an even size for both the arrow and the container and everything works out. --- tests/reftests/misc-alignment.ref.ui | 2 ++ tests/reftests/misc-alignment.ui | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/reftests/misc-alignment.ref.ui b/tests/reftests/misc-alignment.ref.ui index 70ef01e00f..4bca70990b 100644 --- a/tests/reftests/misc-alignment.ref.ui +++ b/tests/reftests/misc-alignment.ref.ui @@ -2,6 +2,7 @@ + 160 False popup @@ -133,6 +134,7 @@ + 16 True False True diff --git a/tests/reftests/misc-alignment.ui b/tests/reftests/misc-alignment.ui index 412a4b0868..8d683b9626 100644 --- a/tests/reftests/misc-alignment.ui +++ b/tests/reftests/misc-alignment.ui @@ -2,6 +2,7 @@ + 160 False popup @@ -145,6 +146,7 @@ + 16 True False center