diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 18:04:29 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-12-05 14:16:08 +0100 |
commit | c24119ac2d047d3aed22fb15cd0574ec592dfb83 (patch) | |
tree | d11f8918bc7b3539fe6bf74d858a9973afe21938 | |
parent | d33633210d2f656521698243c56525d74eafc831 (diff) | |
download | rpmdrake-c24119ac2d047d3aed22fb15cd0574ec592dfb83.tar rpmdrake-c24119ac2d047d3aed22fb15cd0574ec592dfb83.tar.gz rpmdrake-c24119ac2d047d3aed22fb15cd0574ec592dfb83.tar.bz2 rpmdrake-c24119ac2d047d3aed22fb15cd0574ec592dfb83.tar.xz rpmdrake-c24119ac2d047d3aed22fb15cd0574ec592dfb83.zip |
we no longer can use old style objects
-rw-r--r-- | Rpmdrake/gurpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gurpm.pm b/Rpmdrake/gurpm.pm index e532ff09..f3ece16a 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}->get_style->font_desc, $context->get_language); + my $metrics = $context->get_metrics(undef, $context->get_language); $mainw->{label}->set_size_request(-1, 2 * Pango->PANGO_PIXELS($metrics->get_ascent + $metrics->get_descent)); $mainw->{progressbar} = gtknew('ProgressBar'); |