summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-02-10 09:49:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-02-10 09:49:41 +0000
commit15ad66df5155d7a6135fdd513cf20f3361ee1e05 (patch)
tree0088ae67b65740c560cee8e7c75c86675fb7ec8a
parent1318f40eac668262691350d5af3478e9a99d2a7c (diff)
downloaddrakx-15ad66df5155d7a6135fdd513cf20f3361ee1e05.tar
drakx-15ad66df5155d7a6135fdd513cf20f3361ee1e05.tar.gz
drakx-15ad66df5155d7a6135fdd513cf20f3361ee1e05.tar.bz2
drakx-15ad66df5155d7a6135fdd513cf20f3361ee1e05.tar.xz
drakx-15ad66df5155d7a6135fdd513cf20f3361ee1e05.zip
remove many warnings about unitialised value (causing a bug in diagnostics.pm?)
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index cdb0a5085..a76dd695e 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1597,7 +1597,7 @@ sub set {
package Gtk2::WrappedLabel;
sub new {
my ($_type, $o_text) = @_;
- ugtk2::gtkset_line_wrap(Gtk2::Label->new($o_text), 1);
+ ugtk2::gtkset_line_wrap(Gtk2::Label->new($o_text || ''), 1);
}