diff options
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 591b57d08..2af809091 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -134,9 +134,9 @@ sub gtkappenditems { # append page to a notebook sub gtkappend_page { - my $w = shift; - $w->append_page(@_); - $w + my ($notebook, $page, $title) = @_; + $notebook->append_page($page, $title); + $notebook; } sub gtkentry { |