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 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 {