summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-22 18:37:25 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-22 18:37:25 +0000
commitad8ccaa26e21ce2a271a8163abd477cce6a965c4 (patch)
treebf89cf97f5ce0bc51873c208275e49ddce78e840 /perl-install
parent415951abd4368a86588eef302b6db1b3fc3394b9 (diff)
downloaddrakx-ad8ccaa26e21ce2a271a8163abd477cce6a965c4.tar
drakx-ad8ccaa26e21ce2a271a8163abd477cce6a965c4.tar.gz
drakx-ad8ccaa26e21ce2a271a8163abd477cce6a965c4.tar.bz2
drakx-ad8ccaa26e21ce2a271a8163abd477cce6a965c4.tar.xz
drakx-ad8ccaa26e21ce2a271a8163abd477cce6a965c4.zip
minor cleanups
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 588e9cac0..de786a1a6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -99,8 +99,7 @@ sub gtkset_line_wrap { $_[0]->set_line_wrap($_[1]); $_[0] }
sub gtkadd {
my $w = shift;
- foreach (@_) {
- my $l = $_;
+ foreach my $l (@_) {
ref $l or $l = Gtk2::Label->new($l);
$w->add(gtkshow($l));
}
@@ -119,8 +118,7 @@ sub gtkadd_widget {
sub gtkappend {
my $w = shift;
- foreach (@_) {
- my $l = $_;
+ foreach my $l (@_) {
ref $l or $l = Gtk2::Label->new($l);
$w->append(gtkshow($l));
}