aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/formatting.pm1
-rw-r--r--Rpmdrake/pkg.pm1
2 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 0690a09c..bf9b8ae3 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -116,6 +116,7 @@ our $spacing = " ";
sub format_changelog_string {
my ($installed_version, $string) = @_;
#- preprocess changelog for faster TextView insert reaction
+ require Gtk2::Pango;
my %date_attr = ('weight' => Gtk2::Pango->PANGO_WEIGHT_BOLD);
my %update_attr = ('style' => 'italic');
my $version;
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 1412c243..e5a40139 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -60,7 +60,6 @@ our @EXPORT = qw(
use mygtk2 qw(gtknew);
use ugtk2 qw(:all);
-use Gtk2::Pango;
use Gtk2::Gdk::Keysyms;
our $priority_up_alread_warned;