perl-Gtk2 r2126 - in trunk: . t



Author: tsch
Date: Fri Feb  6 13:41:23 2009
New Revision: 2126
URL: http://svn.gnome.org/viewvc/perl-Gtk2?rev=2126&view=rev

Log:
Don't use Gtk2::Pango::Cairo::FontMap in the compatibility checks as it isn't
available in all pango versions and I don't want to fiddle with version checks.


Modified:
   trunk/ChangeLog
   trunk/t/pango-compat.t

Modified: trunk/t/pango-compat.t
==============================================================================
--- trunk/t/pango-compat.t	(original)
+++ trunk/t/pango-compat.t	Fri Feb  6 13:41:23 2009
@@ -3,11 +3,11 @@
 use warnings;
 use Gtk2::TestHelper tests => 3;
 
-# Make sure that the old names for interface, object, boxed, and fundamental
-# types work
+# Make sure that the old names for object, boxed, and fundamental types work.
+# Pango 1.0 didn't have an interface type, so we can't test one without
+# fiddling with version checks.
 is (eval {
-  Gtk2::TreeStore->new (qw/Gtk2::Pango::Cairo::FontMap
-                           Gtk2::Pango::Layout
+  Gtk2::TreeStore->new (qw/Gtk2::Pango::Layout
                            Gtk2::Pango::Color
                            Gtk2::Pango::Weight
                            Gtk2::Pango::FontMask/);



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