diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-11-12 14:05:52 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-11-12 14:05:52 +0000 |
commit | fc6a72175bf8ee7aed801e4003991e8e9c67c304 (patch) | |
tree | 7f435f15fbc29d6869ddd1db9cd95ef33ba77fde /perl-install/ugtk.pm | |
parent | 7902fe25c4e57756cbae9cce1e6a88c32e04b9f4 (diff) | |
download | drakx-fc6a72175bf8ee7aed801e4003991e8e9c67c304.tar drakx-fc6a72175bf8ee7aed801e4003991e8e9c67c304.tar.gz drakx-fc6a72175bf8ee7aed801e4003991e8e9c67c304.tar.bz2 drakx-fc6a72175bf8ee7aed801e4003991e8e9c67c304.tar.xz drakx-fc6a72175bf8ee7aed801e4003991e8e9c67c304.zip |
add/remove some spaces to make perl_checker happy
Diffstat (limited to 'perl-install/ugtk.pm')
-rw-r--r-- | perl-install/ugtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/ugtk.pm b/perl-install/ugtk.pm index 49a0a7ab6..2e100ede9 100644 --- a/perl-install/ugtk.pm +++ b/perl-install/ugtk.pm @@ -410,7 +410,7 @@ sub create_treeitem { my $w = new Gtk::TreeItem($name); $w->signal_connect(key_press_event => sub { my (undef, $e) = @_; - local $_ = chr ($e->{keyval}); + local $_ = chr $e->{keyval}; if ($e->{keyval} > 0x100) { my $n; @@ -736,7 +736,7 @@ sub gtkpowerpack { ref($_[0]) eq 'HASH' || ref($_[0]) eq 'ARRAY' and $RefAttrs = shift; foreach ("expand", "fill", "padding", "pack_end") { if ($RefDefaultAttrs->{$_} eq 'arg') { - ref ($_[0]) and die "error in packing definition\n"; + ref $_[0] and die "error in packing definition\n"; $attr{$_} = shift; ref($RefAttrs) eq 'ARRAY' and shift @$RefAttrs; } elsif (ref($RefAttrs) eq 'HASH' && defined($RefAttrs->{$_})) { |