summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index d56042139..c5987b3a0 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -388,7 +388,7 @@ sub title1_to_markup {
sub _gtk__Title1 {
my ($w, $opts) = @_;
$opts ||= {};
- $opts->{text_markup} = title1_to_markup(delete($opts->{label}));
+ $opts->{text_markup} = title1_to_markup(delete($opts->{label})) if $opts->{label};
_gtk__Label($w, $opts);
}