[perl-Gtk2/stable-1-22] Fix a test failure in GtkScrolledWindow.t
- From: Torsten SchÃnfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2/stable-1-22] Fix a test failure in GtkScrolledWindow.t
- Date: Tue, 2 Aug 2011 19:00:20 +0000 (UTC)
commit f044bbdd41f4019605fec2818d60b3e0bf9c8a57
Author: Torsten SchÃnfeld <kaffeetisch gmx de>
Date: Tue Aug 2 19:47:06 2011 +0200
Fix a test failure in GtkScrolledWindow.t
Don't assume that get_hscrollbar() returns a Gtk2::HScrollbar (and
similarly for get_vscrollbar()), as that is apparently not true for all
themes.
t/GtkScrolledWindow.t | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/t/GtkScrolledWindow.t b/t/GtkScrolledWindow.t
index b7511c9..25857ab 100644
--- a/t/GtkScrolledWindow.t
+++ b/t/GtkScrolledWindow.t
@@ -37,8 +37,8 @@ SKIP: {
skip("new 2.8 stuff", 2)
unless Gtk2->CHECK_VERSION (2, 8, 0);
- isa_ok($window -> get_hscrollbar(), "Gtk2::HScrollbar");
- isa_ok($window -> get_vscrollbar(), "Gtk2::VScrollbar");
+ isa_ok($window -> get_hscrollbar(), "Gtk2::Scrollbar");
+ isa_ok($window -> get_vscrollbar(), "Gtk2::Scrollbar");
}
SKIP: {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]