summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}