summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive/gtk.pm
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 07:34:19 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-12-05 07:34:19 +0100
commit3648552d18fb07620fcaeff49bdf845a153e7945 (patch)
treeb375d17aa433e65c179e31f3526ad3864dff0b6d /perl-install/interactive/gtk.pm
parentfe91a26bf9bb3298605b76d226db3f329421b1c6 (diff)
downloaddrakx-3648552d18fb07620fcaeff49bdf845a153e7945.tar
drakx-3648552d18fb07620fcaeff49bdf845a153e7945.tar.gz
drakx-3648552d18fb07620fcaeff49bdf845a153e7945.tar.bz2
drakx-3648552d18fb07620fcaeff49bdf845a153e7945.tar.xz
drakx-3648552d18fb07620fcaeff49bdf845a153e7945.zip
fix a crash when creating partitins (mga#11876)
Diffstat (limited to 'perl-install/interactive/gtk.pm')
-rw-r--r--perl-install/interactive/gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index b233ac01d..94739b356 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -393,7 +393,7 @@ sub create_widget {
$w = ugtk3::gtkadd(Gtk3::CheckButton->new, gtkshow(gtkcreate_img($e->{image})));
} else {
#- warn "\"text\" member should have been used instead of \"label\" one at:\n", common::backtrace(), "\n" if $e->{label} && !$e->{text};
- $w = Gtk3::CheckButton->new_with_label($e->{text});
+ $w = Gtk3::CheckButton->new_with_label($e->{text} || '');
}
$w->signal_connect(clicked => $onchange->(sub { $w->get_active }));
${$e->{val}} ||= 0;