summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-05 12:26:59 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-05 12:26:59 +0000
commit96279a0b9750c1d757b48c40cd1f17b5a60ea014 (patch)
treecd560f727a90ded832cfd5480f248848006f73d0 /perl-install/ugtk.pm
parent3812fd80c231dba41da389d575547492c994552c (diff)
downloaddrakx-backup-do-not-use-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar
drakx-backup-do-not-use-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.gz
drakx-backup-do-not-use-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.bz2
drakx-backup-do-not-use-96279a0b9750c1d757b48c40cd1f17b5a60ea014.tar.xz
drakx-backup-do-not-use-96279a0b9750c1d757b48c40cd1f17b5a60ea014.zip
use each_index instead of map_index when the return value is not used
Diffstat (limited to 'perl-install/ugtk.pm')
-rw-r--r--perl-install/ugtk.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk.pm b/perl-install/ugtk.pm
index 9e8af572a..01613c9fb 100644
--- a/perl-install/ugtk.pm
+++ b/perl-install/ugtk.pm
@@ -340,9 +340,9 @@ sub create_notebook {
sub create_packtable {
my ($options, @l) = @_;
my $w = new Gtk::Table(0, 0, $options->{homogeneous} || 0);
- map_index {
+ each_index {
my ($i, $l) = ($_[0], $_);
- map_index {
+ each_index {
my ($j) = @_;
if ($_) {
ref $_ or $_ = new Gtk::Label($_);