summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index e1787f02a..c968691b4 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -877,15 +877,15 @@ sub new {
}
}
$o->{rwindow} = $o->{window} = gtknew('VBox', border_width => 10);
- set_main_window_size($o);
+ set_main_window_size($o->{window});
gtkpack($::WizardTable, $o->{window});
}
$o;
}
sub set_main_window_size {
- my ($o) = @_;
+ my ($window) = @_;
my ($width, $height) = $::isInstall ? ($::real_windowwidth, $::real_windowheight) : $::isWizard ? (540, 360) : (600, 400);
- $o->{window}->set_size_request($width, $height);
+ $window->set_size_request($width, $height);
}
sub main {