From 7b90281fb2e73c5e70488b35312c2faa51f2d9ce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 1 Aug 2012 18:56:42 +0200 Subject: perlish ->allocation => ->get_allocation --- perl-install/ugtk3.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk3.pm') 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: -- cgit v1.2.1