summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-01-16 09:32:13 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-01-16 09:32:13 +0100
commitf11b3b7e50d03d9cf435bc9ec7532947ee95204f (patch)
treeb37ea767b97a4f6e4d92d16ff48abbbfa00c3dc5 /perl-install/diskdrake
parent9beda017b3947d37b0634f8816b904e654907ca4 (diff)
downloaddrakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar
drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.gz
drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.bz2
drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.xz
drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.zip
fix crash (mga#17484)
it looks like newer gtk+ fires some signals too early
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/hd_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm
index 93625e921..68295879d 100644
--- a/perl-install/diskdrake/hd_gtk.pm
+++ b/perl-install/diskdrake/hd_gtk.pm
@@ -276,6 +276,7 @@ sub per_entry_info_box {
sub current_kind_changed {
my ($_in, $kind) = @_;
+ return if !$kind->{display_box};
$_->destroy foreach $kind->{display_box}->get_children;
my @parts = kind2parts($kind);
my $totalsectors = kind2sectors($kind, @parts);