summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-18 04:07:48 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 23:53:08 +0100
commit0c50056186c5399231fe89f5657180418ccd0844 (patch)
treed024829214323eddb0dc87e039d17384b5cd4bfb
parent0f769bdd74f0d06553642f36e019748178fcc803 (diff)
downloaddrakx-0c50056186c5399231fe89f5657180418ccd0844.tar
drakx-0c50056186c5399231fe89f5657180418ccd0844.tar.gz
drakx-0c50056186c5399231fe89f5657180418ccd0844.tar.bz2
drakx-0c50056186c5399231fe89f5657180418ccd0844.tar.xz
drakx-0c50056186c5399231fe89f5657180418ccd0844.zip
fix computing left part width
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index d6cfd9025..921c76b49 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -760,7 +760,7 @@ sub _gtk__MDV_Notebook {
: map {
gtknew('Image', file => "right-white-background_left_part-$_", flip => $is_flip_needed);
} 1, 2, 2, 3;
- my $width1 = $left_background->get_allocated_width;
+ my $width1 = $left_background->get_pixbuf->get_width;
my $right_bg_width = $right_background[0]->get_pixbuf->get_width;
my $total_width = $width1 + $right_bg_width;
my $arrow_x = text_direction_rtl() ? $offset/2 - 4 : $width1 - $offset - 3;