diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-28 15:36:10 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-02-28 15:36:10 +0000 |
commit | 1137154e84305c12a461ad981b35046ab9f930a7 (patch) | |
tree | bcb133b269623660b5e16f305191540dd4738f3f /perl-install/ugtk2.pm | |
parent | c00134994c26efbe14fc6f9b39ed1b68dd4206d9 (diff) | |
download | drakx-backup-do-not-use-1137154e84305c12a461ad981b35046ab9f930a7.tar drakx-backup-do-not-use-1137154e84305c12a461ad981b35046ab9f930a7.tar.gz drakx-backup-do-not-use-1137154e84305c12a461ad981b35046ab9f930a7.tar.bz2 drakx-backup-do-not-use-1137154e84305c12a461ad981b35046ab9f930a7.tar.xz drakx-backup-do-not-use-1137154e84305c12a461ad981b35046ab9f930a7.zip |
perl checko says we need to use parentheses with ref
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 4764841c4..3a0d3569f 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -320,7 +320,7 @@ sub create_box_with_title { } $o->{box_size} = n_line_size($nbline, 'text', $box); #- hugly hack because GtkLabel doesn't wrap when using languages that don't contain spaces - if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref $::o && member($::o->{locale}{lang}, qw(ja))))) { + if (@_ <= 2 && ($nbline > 4 || ($nbline > 1 && ref($::o) && member($::o->{locale}{lang}, qw(ja))))) { $o->{icon} && !$::isWizard and eval { gtkpack__($box, gtkset_border_width(gtkpack_(Gtk2::HBox->new(0,0), 1, gtkcreate_img($o->{icon})),5)) }; my $wanted = $o->{box_size}; |