summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk3.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2012-08-01 18:56:42 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:34 +0100
commit7b90281fb2e73c5e70488b35312c2faa51f2d9ce (patch)
tree79ae21a6e5c66a86706107b966dc4143ae62226c /perl-install/ugtk3.pm
parente5d2e80a09845619e90d736ac9c0f5fb3665574d (diff)
downloaddrakx-7b90281fb2e73c5e70488b35312c2faa51f2d9ce.tar
drakx-7b90281fb2e73c5e70488b35312c2faa51f2d9ce.tar.gz
drakx-7b90281fb2e73c5e70488b35312c2faa51f2d9ce.tar.bz2
drakx-7b90281fb2e73c5e70488b35312c2faa51f2d9ce.tar.xz
drakx-7b90281fb2e73c5e70488b35312c2faa51f2d9ce.zip
perlish ->allocation => ->get_allocation
Diffstat (limited to 'perl-install/ugtk3.pm')
-rw-r--r--perl-install/ugtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk3.pm b/perl-install/ugtk3.pm
index 56c954b38..ac116a761 100644
--- a/perl-install/ugtk3.pm
+++ b/perl-install/ugtk3.pm
@@ -1464,7 +1464,7 @@ sub new {
# fix icon position when not using the default height:
(undef, undef, undef, $d_height) = $darea->get_window->get_geometry;
my $padding = int(($d_height - $height)/2);
- my $d_width = $darea->allocation->width;
+ my $d_width = $darea->get_allocation->width;
my $x_blue = $is_rtl ? $d_width - $blue_width : 0;
my $x_icon = $is_rtl ? $d_width - 12 - $width : 12;
# here: 48 is the amount of white background in the blue background we wish to ignore: