[perl-Glib/stable-1-22] Fix test failure on older glibs
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib/stable-1-22] Fix test failure on older glibs
- Date: Tue, 2 Aug 2011 18:59:09 +0000 (UTC)
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]