From ee6ad956214f83f189b5e32687efa0859cd61efe Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 11 Jan 2005 11:45:24 +0000 Subject: change set_main_window_size() prototype --- perl-install/ugtk2.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/ugtk2.pm') 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 { -- cgit v1.2.1