diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-11-27 16:00:02 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-11-27 16:00:02 +0000 |
commit | d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04 (patch) | |
tree | ebb29ded7cc04bcaf38057bfa3d4af7ce6bef81e /perl-install/ugtk2.pm | |
parent | 722b9b857f647c272af3f87f6b45f0bf8586f02b (diff) | |
download | drakx-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar drakx-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.gz drakx-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.bz2 drakx-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.xz drakx-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.zip |
reflect calling style change of PANGO_PIXELS
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index d55cf0e6c..8596f2472 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -29,7 +29,6 @@ use log; use common; use Gtk2; -use Gtk2::Pango; #- we use non method Gtk2::Pango::PANGO_PIXELS so we can't rely on lazyloading if (!$::no_ugtk_init) { !$ENV{DISPLAY} || system('/usr/X11R6/bin/xtest') and die "Cannot be run in console mode.\n"; @@ -532,7 +531,7 @@ sub gtkfontinfo { foreach (qw(ascent descent approximate_char_width approximate_digit_width)) { no strict; my $func = "get_$_"; - $fontinfo{$_} = Gtk2::Pango::Pango::PANGO_PIXELS($metrics->$func); + $fontinfo{$_} = Gtk2::Pango->PANGO_PIXELS($metrics->$func); } $metrics->unref; %fontinfo; |