diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-01-11 11:45:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-01-11 11:45:24 +0000 |
commit | ee6ad956214f83f189b5e32687efa0859cd61efe (patch) | |
tree | 2d51b17ca662ca7bd7a2c7bf1d637e5e69e5c5fc /perl-install/ugtk2.pm | |
parent | 585ad36263ff6e0348b45b9b3c3256533203cde8 (diff) | |
download | drakx-backup-do-not-use-ee6ad956214f83f189b5e32687efa0859cd61efe.tar drakx-backup-do-not-use-ee6ad956214f83f189b5e32687efa0859cd61efe.tar.gz drakx-backup-do-not-use-ee6ad956214f83f189b5e32687efa0859cd61efe.tar.bz2 drakx-backup-do-not-use-ee6ad956214f83f189b5e32687efa0859cd61efe.tar.xz drakx-backup-do-not-use-ee6ad956214f83f189b5e32687efa0859cd61efe.zip |
change set_main_window_size() prototype
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 6 |
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 { |