aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-19 21:37:28 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 14:16:07 +0100
commitf6dc934fdc80c05904fc4ab107acf94eba5622d8 (patch)
tree1cef3e1c72382c626c9bba4be8f5514315ad9ff5 /Rpmdrake
parente4478b1a58330fea9685120e5ae99a57358b9440 (diff)
downloadrpmdrake-f6dc934fdc80c05904fc4ab107acf94eba5622d8.tar
rpmdrake-f6dc934fdc80c05904fc4ab107acf94eba5622d8.tar.gz
rpmdrake-f6dc934fdc80c05904fc4ab107acf94eba5622d8.tar.bz2
rpmdrake-f6dc934fdc80c05904fc4ab107acf94eba5622d8.tar.xz
rpmdrake-f6dc934fdc80c05904fc4ab107acf94eba5622d8.zip
perlish ->style() => ->get_style()
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/gurpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm
index af3fb369..e532ff09 100644
--- a/Rpmdrake/gurpm.pm
+++ b/Rpmdrake/gurpm.pm
@@ -39,7 +39,7 @@ sub new {
$mainw->{label} = gtknew('Label', text => $initializing, alignment => [ 0.5, 0 ]);
# size label's heigh to 2 lines in order to prevent dummy vertical resizing:
my $context = $mainw->{label}->get_layout->get_context;
- my $metrics = $context->get_metrics($mainw->{label}->style->font_desc, $context->get_language);
+ my $metrics = $context->get_metrics($mainw->{label}->get_style->font_desc, $context->get_language);
$mainw->{label}->set_size_request(-1, 2 * Pango->PANGO_PIXELS($metrics->get_ascent + $metrics->get_descent));
$mainw->{progressbar} = gtknew('ProgressBar');