diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-22 09:00:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-22 09:00:31 +0000 |
commit | 8cdf448e2deff55cfb4dfabfa88d3ec785cdd643 (patch) | |
tree | e854eb9ded9df30e68a2f29c59450755d9af5ca9 /perl-install | |
parent | cd5ec7fba8fb800bb658282b0459b28c4f5ae3cb (diff) | |
download | drakx-8cdf448e2deff55cfb4dfabfa88d3ec785cdd643.tar drakx-8cdf448e2deff55cfb4dfabfa88d3ec785cdd643.tar.gz drakx-8cdf448e2deff55cfb4dfabfa88d3ec785cdd643.tar.bz2 drakx-8cdf448e2deff55cfb4dfabfa88d3ec785cdd643.tar.xz drakx-8cdf448e2deff55cfb4dfabfa88d3ec785cdd643.zip |
(Gtk2::Banner->new) use Gtk2::Pango->scale instead of
Gtk2::Pango->PANGO_SCALE, thus fixing crash (#44053)
(alternatively we could have just load Gtk2::Pango)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 8d6f396ef..26bddf8cd 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- fix crash (#44053) - localedrake: o add support for ibus diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 16a535574..0bd9726cd 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1464,7 +1464,7 @@ sub new { my $x_icon = $is_rtl ? $d_width - $padding - $width : $padding; # here: 48 is the amount of white background in the blue background we wish to ignore: my $x_text = $is_rtl ? $d_width - $blue_width + 48 - $darea->{txt_width} : $blue_width - 48; - $darea->{layout_height} ||= (($darea->{layout}->get_size)[1])/Gtk2::Pango->PANGO_SCALE; + $darea->{layout_height} ||= (($darea->{layout}->get_size)[1])/Gtk2::Pango->scale; $blue_part->render_to_drawable($darea->window, $style->bg_gc('normal'), 0, 0, $x_blue, 0, -1, -1, 'none', 0, 0); $darea->{icon}->render_to_drawable($darea->window, $style->bg_gc('normal'), |