summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk3.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mygtk3.pm')
-rw-r--r--perl-install/mygtk3.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk3.pm b/perl-install/mygtk3.pm
index ae72041ca..ffcea32c7 100644
--- a/perl-install/mygtk3.pm
+++ b/perl-install/mygtk3.pm
@@ -716,7 +716,7 @@ sub _gtk__Expander {
if ($w) {
$w->set_label(delete $opts->{text}) if exists $opts->{text};
} else {
- $w = Gtk3::Expander->new(delete $opts->{text});
+ $w = Gtk3::Expander->new(delete $opts->{text} || '');
}
$w->signal_connect(activate => delete $opts->{activate}) if exists $opts->{activate};