From d3c03b5b1992e028d1239e5f04a19edd04f85830 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Nov 2013 02:45:58 +0100 Subject: NO more need to load Pango --- control-center | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/control-center b/control-center index 4baaebd4..e8314014 100755 --- a/control-center +++ b/control-center @@ -1453,7 +1453,6 @@ sub about_mga_cc() { my ($previous_type, $not_first_title, $not_first_block); my $locale = lang::read; - require Gtk2::Pango; foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mageia-release-*/CREDITS"), glob("/usr/share/doc/mageia-release-*/CREDITS.$locale->{lang}")))) { if (my ($type, $comment, $contributor) = split(/\|/, $line, 3)) { last if !$type; @@ -1461,7 +1460,7 @@ sub about_mga_cc() { chomp($contributor); if ($previous_type ne $type) { gtktext_append($credits, [ [ join('', if_($not_first_title, "\n"), translate(common::to_utf8($type)), "\n"), - { 'weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD, scale => Gtk2::Pango->scale_large } ] ]); + { 'weight' => Pango->PANGO_WEIGHT_BOLD, scale => Gtk2::Pango->scale_large } ] ]); $previous_type = $type; $not_first_title = 1; } -- cgit v1.2.1