diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-06 14:26:40 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-24 23:28:13 +0100 |
commit | 35f9c81c361e8f1856a457d087d26670878c2c6e (patch) | |
tree | 5f29f12680b59b4e0aa5e43b7e12b11972cd452b | |
parent | bc357e50bf8e0a68f2878ef8d5fce82a903d9cd6 (diff) | |
download | drakx-35f9c81c361e8f1856a457d087d26670878c2c6e.tar drakx-35f9c81c361e8f1856a457d087d26670878c2c6e.tar.gz drakx-35f9c81c361e8f1856a457d087d26670878c2c6e.tar.bz2 drakx-35f9c81c361e8f1856a457d087d26670878c2c6e.tar.xz drakx-35f9c81c361e8f1856a457d087d26670878c2c6e.zip |
adapt to new Pango binding
-rw-r--r-- | perl-install/ugtk3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm index 1c12c0965..6b3c6a1e0 100644 --- a/perl-install/ugtk3.pm +++ b/perl-install/ugtk3.pm @@ -349,7 +349,7 @@ sub create_box_with_title { my $scroll = gtknew('ScrolledWindow', child => $wtext, width => $width, height => 200); $scroll->signal_connect(realize => sub { my $layout = $wtext->create_pango_layout($text); - $layout->set_width(($width - 10) * Pango->scale); + $layout->set_width(($width - 10) * Pango::SCALE); $wtext->set_size_request($width, min(200, second($layout->get_pixel_size) + 10)); $scroll->set_size_request($width, min(200, second($layout->get_pixel_size) + 10)); $o->{rwindow}->queue_resize; |