summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-08-04 00:07:39 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-08-04 00:07:39 +0000
commit177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf (patch)
tree70316dc2fa1c5ab8800a231dec1eb9ddcc7a1f5c /perl-install
parent43e776968595de9f499cbd75e65f7e67135e00f2 (diff)
downloaddrakx-177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf.tar
drakx-177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf.tar.gz
drakx-177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf.tar.bz2
drakx-177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf.tar.xz
drakx-177c0e4ae47de74d64e1aa194a6537fe6cf6e1bf.zip
perl_checker compliance
Diffstat (limited to 'perl-install')
-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 7cb3d6ce0..8988220aa 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1067,7 +1067,7 @@ sub ask_browse_tree_info {
0, my $box2 = Gtk2::HBox->new(0,10),
));
#gtkpack__($box2, my $toolbar = Gtk2::Toolbar->new('horizontal', 'icons'));
- gtkpack__($box2, my $toolbar = Gtk2::Toolbar->new());
+ gtkpack__($box2, my $toolbar = Gtk2::Toolbar->new);
my @l = ([ $common->{ok}, 1 ], if_($common->{cancel}, [ $common->{cancel}, 0 ]));
@l = reverse @l if !$::isInstall;
@@ -1460,9 +1460,9 @@ sub set {
package Gtk2::Entry;
sub new_with_text {
- shift;
+ my ($_class, @text) = @_;
my $entry = Gtk2::Entry->new;
- @_ and $entry->set_text(@_);
+ @text and $entry->set_text(@text);
return $entry;
}