summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/diskdrake/hd_gtk.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 3edfbc05a..9f2dc09eb 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- diskdrake:
+ o fix crash (mga#17484)
+
Version 17.12 - 2 January 2016
- misc cleanups
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);