From 06438826d645957bdb6e85702bfbd63eaf839e67 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 8 Sep 2008 15:51:59 +0000 Subject: fix running in strict mode --- perl-install/mygtk2.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 1da429eec..d5aea3fa9 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -355,6 +355,8 @@ sub _gtk__WrappedLabel { _gtk__Label($w, $opts); } +our $left_padding = 20; + sub _gtk__Label_Left { my ($w, $opts) = @_; $opts->{alignment} ||= [ 0, 0 ]; @@ -1221,8 +1223,6 @@ sub get_main_window_size() { my ($width, $height) = $::real_windowwidth ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400); } -our $left_padding = 20; - # in order to workaround infamous 6 years old gnome bug #101968: sub get_label_width() { first(mygtk2::get_main_window_size()) - 50 - $left_padding; -- cgit v1.2.1