summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-11-27 16:00:02 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-11-27 16:00:02 +0000
commitd76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04 (patch)
treeebb29ded7cc04bcaf38057bfa3d4af7ce6bef81e /perl-install/ugtk2.pm
parent722b9b857f647c272af3f87f6b45f0bf8586f02b (diff)
downloaddrakx-backup-do-not-use-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar
drakx-backup-do-not-use-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.gz
drakx-backup-do-not-use-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.bz2
drakx-backup-do-not-use-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.tar.xz
drakx-backup-do-not-use-d76b9872f57a5bdfd4e6dea08b1d7f0023cd3d04.zip
reflect calling style change of PANGO_PIXELS
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm3
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;