summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-09-01 03:13:05 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-09-01 03:13:05 +0000
commit8c6bf852804c4c6a5843675dc216f01df2a9e142 (patch)
tree5eff2b0cf1b0d9d148720351aa322a0e5c0b644e /perl-install/ugtk2.pm
parented28bfaa2991a3835f624ea99c29201dc04fe14d (diff)
downloaddrakx-8c6bf852804c4c6a5843675dc216f01df2a9e142.tar
drakx-8c6bf852804c4c6a5843675dc216f01df2a9e142.tar.gz
drakx-8c6bf852804c4c6a5843675dc216f01df2a9e142.tar.bz2
drakx-8c6bf852804c4c6a5843675dc216f01df2a9e142.tar.xz
drakx-8c6bf852804c4c6a5843675dc216f01df2a9e142.zip
(create_notebook) follow the same parameter order as gtkappend_page() use and
as C/Gtk+ does
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 85e54b262..a0266023e 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -471,8 +471,8 @@ sub create_menu {
sub create_notebook {
my $book = Gtk2::Notebook->new;
while (@_) {
- my ($title, $page) = splice(@_, 0, 2);
- gtkappend_page($book, $title, $page);
+ my ($page, $title) = splice(@_, 0, 2);
+ gtkappend_page($book, $page, $title);
}
$book
}