Subject: Fix [86a7468862]. Make test combobox-3 pass (hopefully) on all platforms.

From: fvogel <[email-masked]>
Date: Tue, 22 Nov 2016 09:14:08 +0000

---
 tests/ttk/combobox.test | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/ttk/combobox.test b/tests/ttk/combobox.test
index 35ded6c..7ea0c5c 100644
--- a/tests/ttk/combobox.test
+++ b/tests/ttk/combobox.test
@@ -45,12 +45,12 @@ test combobox-2.4 "current -- value not in list" -body {
 
 test combobox-2.end "Cleanup" -body { destroy .cb }
 
-test combobox-3 "Read postoffset value dynamically from current style" -constraints unix -body {
+test combobox-3 "Read postoffset value dynamically from current style" -body {
     ttk::combobox .cb -values [list a b c] -style "DerivedStyle.TCombobox"
     pack .cb -expand true -fill both 
     ttk::style configure DerivedStyle.TCombobox -postoffset [list 25 0 0 0]
     ttk::combobox::Post .cb
-    winfo x .cb.popdown
+    expr {[winfo rootx .cb.popdown] - [winfo rootx .cb]}
 } -result 25 -cleanup {
     destroy .cb
 }
-- 
cgit v0.12