[perl-Glib/stable-1-22] Fix test failure on older glibs



commit d4375d076fb9b07fd82b848f87878c365aeba98b
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date:   Tue Aug 2 20:57:09 2011 +0200

    Fix test failure on older glibs

 t/9.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/t/9.t b/t/9.t
index e723f4f..d345952 100644
--- a/t/9.t
+++ b/t/9.t
@@ -165,7 +165,7 @@ if ($^O eq 'MSWin32') {
 }
 
 if (Glib->CHECK_VERSION (2, 4, 0)) {
-	print Glib::main_depth == 0 ?
+	print Glib::main_depth() == 0 ?
 	  "ok 17\n" : "not ok 17\n";
 } else {
 	print "ok 17 # skip main_depth\n";



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]