[perl-Gtk2] Fix a test failure in GtkScrolledWindow.t



commit a82e1d5358e342166534e9aeabdcb1f49cdd23fc
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]